[Xfce4-commits] r25735 - xfce4-panel/branches/xfce_4_4/libxfce4panel

Jasper Huijsmans jasper at xfce.org
Sun May 20 19:48:28 CEST 2007


Author: jasper
Date: 2007-05-20 17:48:28 +0000 (Sun, 20 May 2007)
New Revision: 25735

Modified:
   xfce4-panel/branches/xfce_4_4/libxfce4panel/xfce-panel-plugin.h
Log:
Embarrassing typo/bug. Patch from Daichi.

Modified: xfce4-panel/branches/xfce_4_4/libxfce4panel/xfce-panel-plugin.h
===================================================================
--- xfce4-panel/branches/xfce_4_4/libxfce4panel/xfce-panel-plugin.h	2007-05-20 17:48:21 UTC (rev 25734)
+++ xfce4-panel/branches/xfce_4_4/libxfce4panel/xfce-panel-plugin.h	2007-05-20 17:48:28 UTC (rev 25735)
@@ -86,13 +86,13 @@
     main (gint argc, gchar **argv)                                 		\
     {                                                              		\
         GtkWidget              *plugin;                                         \
-	XfcePanelPluginFunc     create  = (XfcePanelPluginFunc)construct	\
+	XfcePanelPluginFunc     create  = (XfcePanelPluginFunc)construct;	\
         XfcePanelPluginPreInit  preinit = (XfcePanelPluginPreInit)init;		\
         XfcePanelPluginCheck    test    = (XfcePanelPluginCheck)check;		\
 										\
-	if ( init )								\
+	if ( preinit )								\
 	{									\
-	    if (G_UNLIKELY (init(argc,argv) == FALSE))       			\
+	    if (G_UNLIKELY (preinit(argc,argv) == FALSE))       			\
 	    	return 3;                                                   	\
 	}									\
 										\



More information about the Xfce4-commits mailing list