[gnome-main-menu] [build, main-menu] Drop usage of libgnome-2.0 and libgnomeui-2.0
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-main-menu] [build, main-menu] Drop usage of libgnome-2.0 and libgnomeui-2.0
- Date: Fri, 21 May 2010 15:26:44 +0000 (UTC)
commit cb82e374d60ec6386c6020a37812dcc29fc7030c
Author: Julian Andres Klode <jak debian org>
Date: Wed May 5 16:57:44 2010 +0200
[build, main-menu] Drop usage of libgnome-2.0 and libgnomeui-2.0
Drop the complete usage of libgnome-2.0 and libgnomeui-2.0
from main-menu.c and remove them from the list of used modules
in configure.in; and call g_set_application_name() instead of
gnome_program_init().
https://bugzilla.gnome.org/show_bug.cgi?id=591001
configure.in | 2 +-
main-menu/src/main-menu.c | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index bd234fb..9c02e08 100644
--- a/configure.in
+++ b/configure.in
@@ -48,7 +48,7 @@ PKG_CHECK_MODULES(APPLICATION_BROWSER, [ $COMMON_MODULES gnome-desktop-2.0 uniqu
AC_SUBST(APPLICATION_BROWSER_CFLAGS)
AC_SUBST(APPLICATION_BROWSER_LIBS)
-PKG_CHECK_MODULES(MAIN_MENU, [ $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 x11 cairo ])
+PKG_CHECK_MODULES(MAIN_MENU, [ $COMMON_MODULES libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 x11 cairo ])
AC_SUBST(MAIN_MENU_CFLAGS)
AC_SUBST(MAIN_MENU_LIBS)
diff --git a/main-menu/src/main-menu.c b/main-menu/src/main-menu.c
index 476805b..25d70c6 100644
--- a/main-menu/src/main-menu.c
+++ b/main-menu/src/main-menu.c
@@ -24,7 +24,6 @@
#include <glib.h>
#include <panel-applet.h>
-#include <libgnomeui/libgnomeui.h>
#include <string.h>
#include <libslab/slab.h>
@@ -43,7 +42,6 @@ PANEL_APPLET_BONOBO_FACTORY ("OAFIID:GNOME_MainMenu_Factory", PANEL_TYPE_APPLET,
static gboolean
main_menu_applet_init (PanelApplet *applet, const gchar *iid, gpointer user_data)
{
- gchar *argv [1] = { "slab" };
libslab_checkpoint_init (CHECKPOINT_CONFIG_BASENAME, CHECKPOINT_FILE_BASENAME);
@@ -65,7 +63,7 @@ main_menu_applet_init (PanelApplet *applet, const gchar *iid, gpointer user_data
textdomain (GETTEXT_PACKAGE);
#endif
- gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE, 1, argv, NULL, NULL);
+ g_set_application_name (_("GNOME Main Menu"));
libslab_checkpoint ("Migrating old configurations");
move_system_area_to_new_set ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]