[maemo-commits] [maemo-commits] r14364 - in projects/haf/trunk/gtk+: . gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Oct 9 10:01:39 EEST 2007
Author: xan
Date: 2007-10-09 10:01:36 +0300 (Tue, 09 Oct 2007)
New Revision: 14364

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtkcontainer.c
Log:
2007-10-09  Xan Lopez  <xan.lopez at nokia.com>

	* gtk/gtkcontainer.c (gtk_container_destroy): remove all instances
	of the container from the size_allocated_containers, not only the
	first one. Follow up to bug #71770.


Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2007-10-08 17:46:38 UTC (rev 14363)
+++ projects/haf/trunk/gtk+/ChangeLog	2007-10-09 07:01:36 UTC (rev 14364)
@@ -1,3 +1,9 @@
+2007-10-09  Xan Lopez  <xan.lopez at nokia.com>
+
+	* gtk/gtkcontainer.c (gtk_container_destroy): remove all instances
+	of the container from the size_allocated_containers, not only the
+	first one. Follow up to bug #71770.
+
 2007-10-08  Xan Lopez  <xan.lopez at nokia.com>
 
 	Patch by Tommi.

Modified: projects/haf/trunk/gtk+/gtk/gtkcontainer.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkcontainer.c	2007-10-08 17:46:38 UTC (rev 14363)
+++ projects/haf/trunk/gtk+/gtk/gtkcontainer.c	2007-10-09 07:01:36 UTC (rev 14364)
@@ -1040,7 +1040,7 @@
     _gtk_container_dequeue_resize_handler (container);
 
 #ifdef MAEMO_CHANGES
-  size_allocated_containers = g_slist_remove (size_allocated_containers, container);
+  size_allocated_containers = g_slist_remove_all (size_allocated_containers, container);
 #endif
 
   /* do this before walking child widgets, to avoid


More information about the maemo-commits mailing list