Commit cb82e374 authored by Julian Andres Klode's avatar Julian Andres Klode Committed by Vincent Untz

[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
parent d383f731
......@@ -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)
......
......@@ -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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment