[PATCH 1/3] remove lingering libgnome references
- From: Saleem Abdulrasool <compnerd compnerd org>
- To: seahorse-list gnome org
- Subject: [PATCH 1/3] remove lingering libgnome references
- Date: Wed, 28 May 2008 19:57:29 -0700
Signed-off-by: Saleem Abdulrasool <compnerd compnerd org>
---
INSTALL | 1 -
configure.in | 3 +--
plugins/applet/seahorse-applet.c | 8 +++-----
3 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/INSTALL b/INSTALL
index f56d8b7..ee5801b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -15,7 +15,6 @@ if your distro requires this.
- DBUS 0.35 (or later)
- GPGME 1.x
- GnuPG 1.2.x or 1.4.x
- - libgnome 2.14 (or later)
- libglade 2.x
- GConf 2.x
- GnomeVFS 2.x
diff --git a/configure.in b/configure.in
index 1e2985e..0ff999b 100644
--- a/configure.in
+++ b/configure.in
@@ -30,8 +30,7 @@ AC_CHECK_FUNCS(strsep)
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-PKG_CHECK_MODULES(SEAHORSE, libgnome-2.0 >= 2.14 libgnomeui-2.0
- libglade-2.0 gconf-2.0 gtk+-2.0 >= 2.10.0 gnome-vfs-2.0)
+PKG_CHECK_MODULES(SEAHORSE, libglade-2.0 gconf-2.0 gtk+-2.0 >= 2.10.0 gnome-vfs-2.0)
AC_MSG_CHECKING([for some Win32 platform])
case "$host" in
diff --git a/plugins/applet/seahorse-applet.c b/plugins/applet/seahorse-applet.c
index 6b67eb1..5610b04 100644
--- a/plugins/applet/seahorse-applet.c
+++ b/plugins/applet/seahorse-applet.c
@@ -1017,11 +1017,9 @@ main (int argc, char *argv [])
textdomain (GETTEXT_PACKAGE);
seahorse_secure_memory_init ();
-
- gnome_program_init ("seahorse-applet", VERSION, LIBGNOMEUI_MODULE, argc, argv,
- GNOME_CLIENT_PARAM_SM_CONNECT, FALSE,
- GNOME_PROGRAM_STANDARD_PROPERTIES, GNOME_PARAM_NONE);
-
+
+ gtk_init_with_args (&argc, &argv, "seahorse-applet", NULL, GETTEXT_PACKAGE, NULL);
+
return panel_applet_factory_main ("OAFIID:GNOME_SeahorseApplet_Factory",
SEAHORSE_TYPE_APPLET, seahorse_applet_factory, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]