gnome-panel r11368 - in trunk/gnome-panel: . libpanel-util



Author: vuntz
Date: Mon Dec  8 17:25:52 2008
New Revision: 11368
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11368&view=rev

Log:
2008-12-08  Vincent Untz  <vuntz gnome org>

	* libpanel-util/panel-cleanup.c: (panel_cleanup_register),
	(panel_cleanup_unregister): accept NULL data


Modified:
   trunk/gnome-panel/ChangeLog
   trunk/gnome-panel/libpanel-util/panel-cleanup.c

Modified: trunk/gnome-panel/libpanel-util/panel-cleanup.c
==============================================================================
--- trunk/gnome-panel/libpanel-util/panel-cleanup.c	(original)
+++ trunk/gnome-panel/libpanel-util/panel-cleanup.c	Mon Dec  8 17:25:52 2008
@@ -61,7 +61,6 @@
 	PanelClean *clean;
 
 	g_return_if_fail (func != NULL);
-	g_return_if_fail (data != NULL);
 
 	clean = g_slice_new (PanelClean);
 	clean->func = func;
@@ -78,7 +77,6 @@
 	PanelClean *clean;
 
 	g_return_if_fail (func != NULL);
-	g_return_if_fail (data != NULL);
 
 	if (!cleaner)
 		return;



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