bug-buddy r2752 - in trunk: . src



Author: cosimoc
Date: Mon Oct 20 13:19:57 2008
New Revision: 2752
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2752&view=rev

Log:
2008-10-20  Cosimo Cecchi  <cosimoc gnome org>

	* configure.in:
	* src/Makefile.am:
	* src/bug-buddy.c: (fill_system_info):
	Enforce single header policy under maintainer mode.


Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/src/Makefile.am
   trunk/src/bug-buddy.c

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Mon Oct 20 13:19:57 2008
@@ -148,6 +148,11 @@
 GNOME_COMPILE_WARNINGS([maximum])
 GNOME_MAINTAINER_MODE_DEFINES
 
+if test "$enable_maintainer_mode" = "yes"; then
+	DISABLE_SINGLE_INCLUDES="-DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES"
+	AC_SUBST(DISABLE_SINGLE_INCLUDES)
+fi
+
 AC_OUTPUT([
 Makefile
 data/Makefile

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Mon Oct 20 13:19:57 2008
@@ -6,6 +6,7 @@
 	$(BUG_BUDDY_CFLAGS) -I$(includedir)		\
 	-DBUDDY_DATADIR=\""$(pkgdatadir)"\"		\
 	$(DISABLE_DEPRECATED)                           \
+	$(DISABLE_SINGLE_INCLUDES)			\
 	$(BUG_BUDDY_EDS_CFLAGS)				\
 	-DGMENU_I_KNOW_THIS_IS_UNSTABLE			\
 	-D_GNU_SOURCE

Modified: trunk/src/bug-buddy.c
==============================================================================
--- trunk/src/bug-buddy.c	(original)
+++ trunk/src/bug-buddy.c	Mon Oct 20 13:19:57 2008
@@ -1761,7 +1761,7 @@
 				g_free (name);
 			}
 
-			gconf_entry_free (entry);
+			gconf_entry_unref (entry);
 		}
 
 		g_slist_free (entries);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]