[nautilus-actions: 4/45] Remove dependancies on deprecated libraries
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions: 4/45] Remove dependancies on deprecated libraries
- Date: Wed, 29 Jul 2009 21:18:06 +0000 (UTC)
commit be51515c0c4932fc99006f8b456f71f53f5d6895
Author: Pierre Wieser <pwieser trychlos org>
Date: Fri Jul 17 16:43:34 2009 +0200
Remove dependancies on deprecated libraries
ChangeLog | 3 +++
configure.ac | 8 ++++----
src/nact/nact-main.c | 2 --
3 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c65ce59..1383b2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-07-16 Pierre Wieser <pwieser trychlos org>
+ * configure.ac:
+ Get ride of libglade, libgnome, libgnomeui deprecated libraries.
+
* src/nact/nact-profile-conditions-editor.c:
Align widgets.
diff --git a/configure.ac b/configure.ac
index 0d66942..edb6e30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,6 +79,9 @@ GNOME_COMMON_INIT
GNOME_MAINTAINER_MODE_DEFINES
NACT_GNOME_COMPILE_WARNINGS([error],[-ansi])
AC_SUBST([AM_CPPFLAGS],["${AM_CPPFLAGS} ${DISABLE_DEPRECATED}"])
+# unique 1.0.8 doesn't satisfy this
+#AC_SUBST([AM_CPPFLAGS],["${AM_CPPFLAGS} \
+# -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"])
AC_SUBST([AM_CFLAGS],["${AM_CFLAGS} ${WARN_CFLAGS}"])
# libtool
@@ -106,7 +109,6 @@ AM_GCONF_SOURCE_2
#
GLIB_REQUIRED=2.16.0
GTK_REQUIRED=2.12.0
-GNOME_REQUIRED=2.7.0
NAUTILUS_EXTENSION=2.8.0
GCONF_REQUIRED=2.8.0
LIBXML_REQUIRED=2.6.0
@@ -122,12 +124,10 @@ PKG_CHECK_MODULES([NAUTILUS_ACTIONS], \
gthread-2.0 >= ${GLIB_REQUIRED} \
gmodule-2.0 >= ${GLIB_REQUIRED} \
gtk+-2.0 >= ${GTK_REQUIRED} \
- libgnome-2.0 >= ${GNOME_REQUIRED} \
- libgnomeui-2.0 >= ${GNOME_REQUIRED} \
gconf-2.0 >= ${GCONF_REQUIRED} \
+ libxml-2.0 >= ${LIBXML_REQUIRED} \
libnautilus-extension >= ${NAUTILUS_EXTENSION} \
uuid \
- libglade-2.0 \
unique-1.0
)
AC_SUBST([NAUTILUS_ACTIONS_CFLAGS])
diff --git a/src/nact/nact-main.c b/src/nact/nact-main.c
index d746064..30c7ac4 100644
--- a/src/nact/nact-main.c
+++ b/src/nact/nact-main.c
@@ -36,8 +36,6 @@
#include "nact-application.h"
-#include <glade/glade-xml.h>
-
int
main( int argc, char *argv[] )
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]