[Galago-commits] r2953 - in trunk/notification-daemon: . src/daemon

galago-commits at freedesktop.org galago-commits at freedesktop.org
Mon Nov 13 23:32:53 PST 2006


Author: chipx86
Date: 2006-11-13 23:32:49 -0800 (Mon, 13 Nov 2006)
New Revision: 2953

Modified:
   trunk/notification-daemon/ChangeLog
   trunk/notification-daemon/src/daemon/stack.c
Log:
Fix a bug I introduced where we were getting the size request of the window being added/removed, instead of the current one being iterated over. This was causing massive ugliness of the fourth kind.


Modified: trunk/notification-daemon/ChangeLog
===================================================================
--- trunk/notification-daemon/ChangeLog	2006-11-14 06:48:23 UTC (rev 2952)
+++ trunk/notification-daemon/ChangeLog	2006-11-14 07:32:49 UTC (rev 2953)
@@ -1,3 +1,10 @@
+Mon Nov 13 23:31:07 PST 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* src/daemon/stack.c:
+	  - Fix a bug I introduced where we were getting the size request of the
+	    window being added/removed, instead of the current one being iterated
+	    over. This was causing massive ugliness of the fourth kind.
+
 Mon Nov 13 22:47:42 PST 2006  Christian Hammond <chipx86 at chipx86.com>
 
 	* src/themes/standard/theme.c:

Modified: trunk/notification-daemon/src/daemon/stack.c
===================================================================
--- trunk/notification-daemon/src/daemon/stack.c	2006-11-14 06:48:23 UTC (rev 2952)
+++ trunk/notification-daemon/src/daemon/stack.c	2006-11-14 07:32:49 UTC (rev 2953)
@@ -226,7 +226,7 @@
 
 		if (nw2 != nw)
 		{
-			gtk_widget_size_request(GTK_WIDGET(nw), &req);
+			gtk_widget_size_request(GTK_WIDGET(nw2), &req);
 
 			translate_coordinates(stack->location, &workarea, &x, &y,
 								  &shiftx, &shifty, req.width, req.height,
@@ -238,7 +238,6 @@
 			*nw_l = l;
 		}
 	}
-
 }
 
 void



More information about the galago-commits mailing list