r21796 - gnucash/trunk/src - Remove invalid dependencies on LibGnome CFLAGS

John Ralls jralls at code.gnucash.org
Thu Dec 29 18:28:23 EST 2011


Author: jralls
Date: 2011-12-29 18:28:23 -0500 (Thu, 29 Dec 2011)
New Revision: 21796
Trac: http://svn.gnucash.org/trac/changeset/21796

Modified:
   gnucash/trunk/src/bin/Makefile.am
   gnucash/trunk/src/business/business-gnome/Makefile.am
   gnucash/trunk/src/business/business-ledger/Makefile.am
   gnucash/trunk/src/gnome-search/Makefile.am
   gnucash/trunk/src/gnome-utils/Makefile.am
   gnucash/trunk/src/gnome-utils/dialog-userpass.c
   gnucash/trunk/src/gnome-utils/druid-utils.c
   gnucash/trunk/src/gnome-utils/gnc-gnome-utils.h
   gnucash/trunk/src/gnome-utils/test/Makefile.am
   gnucash/trunk/src/gnome/Makefile.am
   gnucash/trunk/src/gnome/assistant-loan.c
   gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
   gnucash/trunk/src/gnome/window-reconcile.c
   gnucash/trunk/src/import-export/Makefile.am
   gnucash/trunk/src/import-export/aqbanking/Makefile.am
   gnucash/trunk/src/import-export/csv/Makefile.am
   gnucash/trunk/src/import-export/log-replay/Makefile.am
   gnucash/trunk/src/import-export/ofx/Makefile.am
   gnucash/trunk/src/import-export/qif-import/Makefile.am
   gnucash/trunk/src/optional/gtkmm/Makefile.am
   gnucash/trunk/src/optional/gtkmm/test/Makefile.am
   gnucash/trunk/src/optional/python-bindings/Makefile.am
   gnucash/trunk/src/plugins/bi_import/Makefile.am
   gnucash/trunk/src/register/ledger-core/Makefile.am
   gnucash/trunk/src/register/register-core/Makefile.am
   gnucash/trunk/src/register/register-gnome/gnucash-sheet.h
   gnucash/trunk/src/report/report-gnome/Makefile.am
   gnucash/trunk/src/report/report-gnome/window-report.c
   gnucash/trunk/src/report/stylesheets/Makefile.am
Log:
Remove invalid dependencies on LibGnome CFLAGS


Much work has been done to change LibGnome Druids to GtkAssistants. The
Makefiles in the containing directories no longer need to use $GNOME_CFLAGS
or $GNOME_LDFLAGS. In a few cases where there still is a dependency,
there's also a dependency on GCONF, so this change also adds $GCONF_CFLAGS
and $GCONF_LDFLAGS to those Makefiles to clarify the dependency.

There were also a few cases where the dependency consisted of a no-longer-
needed include, or where an include was more general than appropriate. 
This change cleans up those cases as well.

Modified: gnucash/trunk/src/bin/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/bin/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -5,7 +5,7 @@
 SUBDIRS = . test
 endif
 
-AM_CPPFLAGS = -I${top_builddir} ${GLIB_CFLAGS} ${GNOME_CFLAGS} ${GTK_CFLAGS} \
+AM_CPPFLAGS = -I${top_builddir} ${GLIB_CFLAGS} ${GCONF_CFLAGS} ${GNOME_CFLAGS} ${GTK_CFLAGS} \
   -DPKGSYSCONFDIR=\"${GNC_CONFIGDIR}\" \
   -DPKGDATADIR=\"${GNC_SHAREDIR}\" \
   -I${top_srcdir}/src \
@@ -70,6 +70,7 @@
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GUILE_LIBS} \
   ${GLIB_LIBS} \
+  ${GCONF_LIBS} \
   ${GNOME_LIBS} \
   ${GTK_LIBS}
 

Modified: gnucash/trunk/src/business/business-gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-gnome/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/business/business-gnome/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -20,6 +20,7 @@
   -I${top_srcdir}/src/register/ledger-core \
   -I${top_srcdir}/src/libqof/qof \
   ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GLIB_CFLAGS} \
   ${GUILE_INCS}
@@ -81,6 +82,7 @@
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GLADE_LIBS} \
   ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GUILE_LIBS} \
   ${GLIB_LIBS} \
   ${EFENCE_LIBS}

Modified: gnucash/trunk/src/business/business-ledger/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-ledger/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/business/business-ledger/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -40,7 +40,7 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GUILE_INCS} \
   ${GLADE_CFLAGS} \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLIB_CFLAGS}
 
 INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.ledger\"

Modified: gnucash/trunk/src/gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -19,6 +19,7 @@
   ${GLADE_LIBS} \
   ${GUILE_LIBS} \
   ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLIB_LIBS} \
   ${QOF_LIBS}
 
@@ -121,6 +122,7 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GUILE_INCS} \
   ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   $(GLIB_CFLAGS) \
   ${GTK_MAC_CFLAGS}

Modified: gnucash/trunk/src/gnome/assistant-loan.c
===================================================================
--- gnucash/trunk/src/gnome/assistant-loan.c	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome/assistant-loan.c	2011-12-29 23:28:23 UTC (rev 21796)
@@ -24,7 +24,6 @@
 \********************************************************************/
 
 #include "config.h"
-#include <gnome.h>
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <string.h>

Modified: gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-budget.c	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-budget.c	2011-12-29 23:28:23 UTC (rev 21796)
@@ -35,6 +35,10 @@
 #include "config.h"
 
 #include <gtk/gtk.h>
+#ifdef __G_IR_SCANNER__
+#undef __G_IR_SCANNER__
+#endif
+#include <gdk/gdkkeysyms.h>
 #include <glib/gi18n.h>
 #include <glade/glade.h>
 #include "gnc-date-edit.h"

Modified: gnucash/trunk/src/gnome/window-reconcile.c
===================================================================
--- gnucash/trunk/src/gnome/window-reconcile.c	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome/window-reconcile.c	2011-12-29 23:28:23 UTC (rev 21796)
@@ -32,6 +32,10 @@
 
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
+#ifdef __G_IR_SCANNER__
+#undef __G_IR_SCANNER__
+#endif
+#include <gdk/gdkkeysyms.h>
 
 #include "Scrub.h"
 #include "Scrub3.h"

Modified: gnucash/trunk/src/gnome-search/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-search/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome-search/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -10,7 +10,7 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GUILE_INCS} \
   ${GLADE_CFLAGS} \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLIB_CFLAGS}
 
 libgncmod_gnome_search_la_SOURCES = \
@@ -54,7 +54,7 @@
   ${top_builddir}/src/core-utils/libgnc-core-utils.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GUILE_LIBS} \
-  ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLADE_LIBS} \
   ${GLIB_LIBS} \
   ${REGEX_LIBS}

Modified: gnucash/trunk/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome-utils/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -18,6 +18,7 @@
   ${GLADE_CFLAGS} \
   ${GTK_CFLAGS} \
   ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GNOME_KEYRING_CFLAGS} \
   ${GUILE_INCS} \
   ${QOF_CFLAGS} \
@@ -201,6 +202,7 @@
   $(top_builddir)/lib/libc/libc-missing.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GNOME_KEYRING_LIBS} \
   ${GLADE_LIBS} \
   ${GUILE_LIBS} \

Modified: gnucash/trunk/src/gnome-utils/dialog-userpass.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-userpass.c	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome-utils/dialog-userpass.c	2011-12-29 23:28:23 UTC (rev 21796)
@@ -22,9 +22,6 @@
 \********************************************************************/
 
 #include "config.h"
-
-#include <gnome.h>
-
 #include "dialog-utils.h"
 #include "gnc-ui.h"
 

Modified: gnucash/trunk/src/gnome-utils/druid-utils.c
===================================================================
--- gnucash/trunk/src/gnome-utils/druid-utils.c	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome-utils/druid-utils.c	2011-12-29 23:28:23 UTC (rev 21796)
@@ -24,7 +24,8 @@
 
 #include "config.h"
 
-#include <gnome.h>
+#include <libgnomeui/gnome-druid-page-edge.h>
+#include <libgnomeui/gnome-druid-page-standard.h>
 
 #include "dialog-utils.h"
 #include "druid-utils.h"

Modified: gnucash/trunk/src/gnome-utils/gnc-gnome-utils.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-gnome-utils.h	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome-utils/gnc-gnome-utils.h	2011-12-29 23:28:23 UTC (rev 21796)
@@ -35,7 +35,6 @@
 #ifndef GNC_GNOME_UTILS_H
 #define GNC_GNOME_UTILS_H
 
-#include <libgnome/libgnome.h>
 #include <gnc-main-window.h>
 
 /** Initialize the Gnome libraries. */

Modified: gnucash/trunk/src/gnome-utils/test/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/test/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/gnome-utils/test/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -48,7 +48,6 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GLIB_CFLAGS} \
   ${GUILE_INCS} \
-  ${GNOME_CFLAGS} \
   ${GLADE_CFLAGS}
 
 LDADD = \

Modified: gnucash/trunk/src/import-export/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/import-export/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -46,7 +46,7 @@
   ${top_builddir}/src/core-utils/libgnc-core-utils.la \
   ${top_builddir}/src/gnc-module/libgnc-module.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
-  ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLADE_LIBS} \
   ${REGEX_LIBS} \
   ${GLIB_LIBS}
@@ -63,7 +63,7 @@
   -I${top_srcdir}/src/gnome \
   -I${top_srcdir}/src/gnome-utils \
   -I${top_srcdir}/src/libqof/qof \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GUILE_INCS} \
   ${GLIB_CFLAGS}

Modified: gnucash/trunk/src/import-export/aqbanking/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/import-export/aqbanking/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -43,6 +43,7 @@
   ${top_builddir}/src/gnc-module/libgnc-module.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLADE_LIBS} \
   ${GLIB_LIBS} \
   ${GWENGUI_GTK2_LIBS} \
@@ -62,6 +63,7 @@
   -I${top_srcdir}/src/gnc-module \
   -I${top_srcdir}/src/libqof/qof \
   ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GLIB_CFLAGS} \
   ${AQBANKING_CFLAGS}

Modified: gnucash/trunk/src/import-export/csv/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/csv/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/import-export/csv/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -42,7 +42,7 @@
   -I${top_srcdir}/src/libqof/qof \
   -I${top_srcdir}/lib/libc \
   -I${top_srcdir}/lib \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GUILE_INCS} \
   ${GLIB_CFLAGS} \

Modified: gnucash/trunk/src/import-export/log-replay/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/log-replay/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/import-export/log-replay/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -34,7 +34,7 @@
   -I${top_srcdir}/src/gnome-utils \
   -I${top_srcdir}/src/import-export \
   -I${top_srcdir}/src/libqof/qof \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GUILE_INCS} \
   ${GLIB_CFLAGS}

Modified: gnucash/trunk/src/import-export/ofx/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/ofx/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/import-export/ofx/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -36,7 +36,7 @@
   -I${top_srcdir}/src/gnome-utils \
   -I${top_srcdir}/src/import-export \
   -I${top_srcdir}/src/libqof/qof \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GUILE_INCS} \
   ${GLIB_CFLAGS} \

Modified: gnucash/trunk/src/import-export/qif-import/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/qif-import/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/import-export/qif-import/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -25,7 +25,7 @@
   ${top_builddir}/src/gnc-module/libgnc-module.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GUILE_LIBS} \
-  ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLADE_LIBS} \
   ${GLIB_LIBS}
 
@@ -65,7 +65,7 @@
   ${GUILE_INCS} \
   ${GLIB_CFLAGS} \
   ${GLADE_CFLAGS} \
-  ${GNOME_CFLAGS} 
+  ${GCONF_CFLAGS} 
 
 uidir = $(GNC_UI_DIR)
 ui_DATA = \

Modified: gnucash/trunk/src/optional/gtkmm/Makefile.am
===================================================================
--- gnucash/trunk/src/optional/gtkmm/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/optional/gtkmm/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -42,7 +42,7 @@
   ${top_builddir}/src/gnc-module/libgnc-module.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GTKMM_LIBS} \
-  ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLADE_LIBS} \
   ${GLIB_LIBS}
 
@@ -53,7 +53,7 @@
   -I${top_srcdir}/src/core-utils \
   -I${top_srcdir}/src/engine \
   ${GTKMM_CFLAGS} \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GLIB_CFLAGS}
 

Modified: gnucash/trunk/src/optional/gtkmm/test/Makefile.am
===================================================================
--- gnucash/trunk/src/optional/gtkmm/test/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/optional/gtkmm/test/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -24,7 +24,6 @@
 test_gtkmm_LDADD = ${top_builddir}/${MODULEPATH}/libgncmod-gtkmm.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GTKMM_LIBS} \
-  ${GNOME_LIBS} \
   ${GLADE_LIBS} \
   ${GLIB_LIBS}
 
@@ -39,6 +38,5 @@
   -I${top_srcdir}/src/engine \
   -I${top_srcdir}/src/optional/gtkmm \
   ${GTKMM_CFLAGS} \
-  ${GNOME_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${GLIB_CFLAGS}

Modified: gnucash/trunk/src/optional/python-bindings/Makefile.am
===================================================================
--- gnucash/trunk/src/optional/python-bindings/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/optional/python-bindings/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -17,7 +17,6 @@
 _gnucash_core_c_la_CPPFLAGS = \
   $(PYTHON_CPPFLAGS) \
   $(GLIB_CFLAGS) \
-  $(GNOME_CFLAGS) \
   -I${top_srcdir}/src/libqof/qof \
   -I$(top_srcdir)/src  \
   -I$(top_srcdir)/src/engine \
@@ -35,7 +34,6 @@
 
 _gnucash_core_c_la_LIBADD = \
   ${GLIB_LIBS} \
-  ${GNOME_LIBS} \
   ${GLADE_LIBS} \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${top_builddir}/src/gnc-module/libgnc-module.la \

Modified: gnucash/trunk/src/plugins/bi_import/Makefile.am
===================================================================
--- gnucash/trunk/src/plugins/bi_import/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/plugins/bi_import/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -26,7 +26,7 @@
   ${top_builddir}/src/gnc-module/libgnc-module.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${top_builddir}/lib/libc/libc-missing.la \
-  ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLADE_LIBS} \
   ${QOF_LIBS} \
   ${GLIB_LIBS}
@@ -49,7 +49,7 @@
   -I${top_srcdir}/src/core-utils \
   -I${top_srcdir}/src/gnc-module \
   -I${top_srcdir}/lib/libc \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLADE_CFLAGS} \
   ${QOF_CFLAGS} \
   ${GLIB_CFLAGS}

Modified: gnucash/trunk/src/register/ledger-core/Makefile.am
===================================================================
--- gnucash/trunk/src/register/ledger-core/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/register/ledger-core/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -51,7 +51,7 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GUILE_INCS} \
   ${GLADE_CFLAGS} \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLIB_CFLAGS}
 
 

Modified: gnucash/trunk/src/register/register-core/Makefile.am
===================================================================
--- gnucash/trunk/src/register/register-core/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/register/register-core/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -63,7 +63,6 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GUILE_INCS} \
   ${GLADE_CFLAGS} \
-  ${GNOME_CFLAGS} \
   ${GLIB_CFLAGS}
 
 CLEANFILES = $(BUILT_SOURCES)

Modified: gnucash/trunk/src/register/register-gnome/gnucash-sheet.h
===================================================================
--- gnucash/trunk/src/register/register-gnome/gnucash-sheet.h	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/register/register-gnome/gnucash-sheet.h	2011-12-29 23:28:23 UTC (rev 21796)
@@ -21,7 +21,7 @@
 #ifndef GNUCASH_SHEET_H
 #define GNUCASH_SHEET_H
 
-#include <gnome.h>
+#include <libgnomecanvas/gnome-canvas.h>
 
 #include "split-register-model.h"
 

Modified: gnucash/trunk/src/report/report-gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/report/report-gnome/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/report/report-gnome/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -16,7 +16,7 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GLADE_CFLAGS} \
   ${GUILE_INCS} \
-  ${GNOME_CFLAGS} \
+  ${GCONF_CFLAGS} \
   ${GLIB_CFLAGS}
 
 libgncmod_report_gnome_la_SOURCES = \
@@ -49,7 +49,7 @@
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GLADE_LIBS} \
   ${GUILE_LIBS} \
-  ${GNOME_LIBS} \
+  ${GCONF_LIBS} \
   ${GLIB_LIBS}
 
 if BUILDING_FROM_SVN

Modified: gnucash/trunk/src/report/report-gnome/window-report.c
===================================================================
--- gnucash/trunk/src/report/report-gnome/window-report.c	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/report/report-gnome/window-report.c	2011-12-29 23:28:23 UTC (rev 21796)
@@ -27,7 +27,6 @@
 
 #include "config.h"
 
-#include <gnome.h>
 #include <glib/gi18n.h>
 #include <errno.h>
 #include <libguile.h>

Modified: gnucash/trunk/src/report/stylesheets/Makefile.am
===================================================================
--- gnucash/trunk/src/report/stylesheets/Makefile.am	2011-12-29 22:14:43 UTC (rev 21795)
+++ gnucash/trunk/src/report/stylesheets/Makefile.am	2011-12-29 23:28:23 UTC (rev 21796)
@@ -18,6 +18,7 @@
   ${top_builddir}/src/gnc-module/libgnc-module.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GUILE_LIBS} \
+  ${GTK_LIBS} \
   ${GLIB_LIBS}
 
 AM_CPPFLAGS = \
@@ -30,7 +31,8 @@
   -I${top_srcdir}/src/libqof/qof \
   ${GUILE_INCS} \
   ${GLIB_CFLAGS} \
-  ${GNOME_CFLAGS}
+  ${GTK_CFLAGS} \
+  ${GCONF_CFLAGS}
 
 gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
 gncscmmod_DATA = \



More information about the gnucash-changes mailing list