[gnome-panel] libpanel-applet: Only declare _panel_applet_shlib_factory() when needed



commit 66602bab12f55e09b2205b493c7e0e5e9c560911
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Feb 24 12:13:40 2011 +0100

    libpanel-applet: Only declare _panel_applet_shlib_factory() when needed
    
    This function only makes sense when PANEL_APPLET_IN_PROCESS_FACTORY is
    used.

 libpanel-applet/panel-applet.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libpanel-applet/panel-applet.h b/libpanel-applet/panel-applet.h
index af11e72..fbe1975 100644
--- a/libpanel-applet/panel-applet.h
+++ b/libpanel-applet/panel-applet.h
@@ -121,7 +121,6 @@ int                panel_applet_factory_main          (const gchar		  *factory_i
 						       GType                       applet_type,
 						       PanelAppletFactoryCallback  callback,
 						       gpointer			   data);
-gboolean           _panel_applet_shlib_factory        (void);
 
 
 /*
@@ -179,6 +178,7 @@ int main (int argc, char *argv [])						\
 }
 
 #define PANEL_APPLET_IN_PROCESS_FACTORY(id, type, descr, callback, data)	\
+gboolean _panel_applet_shlib_factory (void);					\
 G_MODULE_EXPORT gint                                                            \
 _panel_applet_shlib_factory (void)					        \
 {										\



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