gnome-panel r11092 - trunk/applets/clock



Author: federico
Date: Thu May  8 22:56:14 2008
New Revision: 11092
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11092&view=rev

Log:
Pass the XID to set_system_time_async()
2008-05-08  Federico Mena Quintero  <federico novell com>

	* clock.c (set_time): Pass the XID of the applet's windowto
	set_system_time_async().

Signed-off-by: Federico Mena Quintero <federico gnu org>


Modified:
   trunk/applets/clock/clock.c

Modified: trunk/applets/clock/clock.c
==============================================================================
--- trunk/applets/clock/clock.c	(original)
+++ trunk/applets/clock/clock.c	Thu May  8 22:56:14 2008
@@ -1744,7 +1744,7 @@
 
 	tim = mktime (&t);
 
-	set_system_time_async (tim, 0, (GFunc)set_time_callback, cd, NULL);
+	set_system_time_async (tim, GDK_WINDOW_XID (cd->applet->window), (GFunc)set_time_callback, cd, NULL);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]