diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2009-08-07 17:41:06 +0200 |
---|---|---|
committer | Andre Klapper <a9016009@gmx.de> | 2009-08-07 17:41:06 +0200 |
commit | f7334d30ce739012385f2cd858c9d6ae8b8cba48 (patch) | |
tree | 05e3cfe24dded3b2efaab97cd06345dae509cdb3 /shell/control-center.c | |
parent | 3afd0087355e3bf2f08be6fda31d8054a7a9a266 (diff) |
Remove libgnomeui usage. Fixes bug #586527.
Diffstat (limited to 'shell/control-center.c')
-rw-r--r-- | shell/control-center.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/shell/control-center.c b/shell/control-center.c index 26f902c1d..4c4bc3a63 100644 --- a/shell/control-center.c +++ b/shell/control-center.c @@ -25,7 +25,6 @@ #include <gtk/gtk.h> #include <panel-applet.h> #include <libgnome/gnome-desktop-item.h> -#include <libgnomeui/libgnomeui.h> #include <dirent.h> #include "app-shell.h" @@ -108,7 +107,6 @@ main (int argc, char *argv[]) gboolean hidden = FALSE; AppShellData *app_data; GSList *actions; - GnomeProgram *program; #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); @@ -128,8 +126,7 @@ main (int argc, char *argv[]) hidden = TRUE; } - program = gnome_program_init ("GNOME Control Center", "0.1", LIBGNOMEUI_MODULE, - argc, argv, NULL, NULL); + gtk_init (&argc, &argv); app_data = appshelldata_new ("gnomecc.menu", NULL, CONTROL_CENTER_PREFIX, GTK_ICON_SIZE_DND, FALSE, TRUE); |