[gnome-main-menu/gnome-3] yet more cleanup



commit ea0b49922c6e4f85352aa9fe7720d3646f6f6183
Author: Michael Meeks <michael meeks novell com>
Date:   Tue Sep 13 20:20:59 2011 +0200

    yet more cleanup

 main-menu/src/main-menu.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/main-menu/src/main-menu.c b/main-menu/src/main-menu.c
index f317ea3..253909a 100644
--- a/main-menu/src/main-menu.c
+++ b/main-menu/src/main-menu.c
@@ -34,7 +34,8 @@
 
 static gboolean main_menu_applet_init (PanelApplet *, const gchar *, gpointer);
 
-PANEL_APPLET_OUT_PROCESS_FACTORY ("GNOME_MainMenu_Factory", PANEL_TYPE_APPLET,
+PANEL_APPLET_OUT_PROCESS_FACTORY ("GNOME_MainMenu_Factory",
+				  PANEL_TYPE_APPLET, /* FIXME: our gobject type ? */
 				  main_menu_applet_init, NULL);
 
 #define CHECKPOINT_CONFIG_BASENAME "main-menu-checkpoint.conf"
@@ -48,9 +49,6 @@ main_menu_applet_init (PanelApplet *applet, const gchar *iid, gpointer user_data
 
 	libslab_checkpoint ("Main-menu starts up");
 
-	if (strcmp (iid, "OAFIID:GNOME_MainMenu") != 0)
-		return FALSE;
-
 #ifdef ENABLE_NLS
 	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");



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