[gnome-main-menu] Remove libgnomeui dependency from the app-browser
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-main-menu] Remove libgnomeui dependency from the app-browser
- Date: Thu, 23 Jul 2009 23:01:10 +0000 (UTC)
commit db37b66507d330b0b14300e92bafbb40f4a6e37a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jul 1 12:25:37 2009 +0200
Remove libgnomeui dependency from the app-browser
application-browser/src/application-browser.c | 4 +---
configure.in | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/application-browser/src/application-browser.c b/application-browser/src/application-browser.c
index f00bb31..354d1a2 100644
--- a/application-browser/src/application-browser.c
+++ b/application-browser/src/application-browser.c
@@ -24,7 +24,6 @@
#include <gtk/gtk.h>
#include <libgnome/gnome-desktop-item.h>
-#include <libgnomeui/libgnomeui.h>
#include <dirent.h>
#include <unique/unique.h>
#include <stdlib.h>
@@ -83,8 +82,7 @@ main (int argc, char *argv[])
hidden = TRUE;
}
- gnome_program_init ("Gnome Application Browser", "0.1", LIBGNOMEUI_MODULE,
- argc, argv, NULL, NULL);
+ gtk_init (&argc, &argv);
unique_app = unique_app_new_with_commands ("org.gnome.MainMenu", NULL,
"new_instance", COMMAND_NEW_INSTANCE, NULL);
diff --git a/configure.in b/configure.in
index 3b08ce2..e7a8202 100644
--- a/configure.in
+++ b/configure.in
@@ -71,7 +71,7 @@ fi
AC_SUBST(MAIN_MENU_CFLAGS)
AC_SUBST(MAIN_MENU_LIBS)
-PKG_CHECK_MODULES(APPLICATION_BROWSER, [ $COMMON_MODULES gnome-desktop-2.0 libgnomeui-2.0 libgnome-menu unique-1.0 ])
+PKG_CHECK_MODULES(APPLICATION_BROWSER, [ $COMMON_MODULES gnome-desktop-2.0 libgnome-menu unique-1.0 ])
AC_SUBST(APPLICATION_BROWSER_CFLAGS)
AC_SUBST(APPLICATION_BROWSER_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]