From 020d759fa2d1a462d4179210bf7f5f8622246380 Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@cvs.gnome.org>
Date: Thu, 6 Jan 2005 23:13:11 +0000
Subject: Add dummy functions to call some get_types funcs, otherwise they
 don't get

2005-01-07  Christian Persch  <chpe@cvs.gnome.org>

	* lib/egg/egg-toolbars-model.c: (register_type):
	* lib/ephy-state.c: (register_type):
	* lib/ephy-state.h:

	Add dummy functions to call some get_types funcs, otherwise
	they don't get exported.

	* src/Makefile.am:

	Remove unused defines.
---
 ChangeLog                    | 13 +++++++++++++
 lib/egg/egg-toolbars-model.c |  6 ++++++
 lib/ephy-state.c             |  7 +++++++
 src/Makefile.am              |  2 --
 4 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5214578f9..6391b17c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2005-01-07  Christian Persch  <chpe@cvs.gnome.org>
+
+	* lib/egg/egg-toolbars-model.c: (register_type):
+	* lib/ephy-state.c: (register_type):
+	* lib/ephy-state.h:
+
+	Add dummy functions to call some get_types funcs, otherwise
+	they don't get exported.
+
+	* src/Makefile.am:
+
+	Remove unused defines.
+
 2005-01-06  Christian Persch  <chpe@cvs.gnome.org>
 
 	* lib/Makefile.am:
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index a92617f92..5e9d81b65 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -827,3 +827,9 @@ egg_toolbars_model_get_item_type (EggToolbarsModel *t,
 
   return retval;
 }
+
+G_GNUC_UNUSED static void
+register_type (void)
+{
+	egg_tb_model_flags_get_type ();
+}
diff --git a/lib/ephy-state.c b/lib/ephy-state.c
index 452d56b7b..66e673504 100644
--- a/lib/ephy-state.c
+++ b/lib/ephy-state.c
@@ -23,6 +23,7 @@
 #include "config.h"
 
 #include "ephy-state.h"
+#include "ephy-lib-type-builtins.h"
 #include "ephy-file-helpers.h"
 #include "ephy-node-db.h"
 #include "ephy-node-common.h"
@@ -513,3 +514,9 @@ ephy_state_save (void)
 		states_db = NULL;
 	}
 }
+
+G_GNUC_UNUSED static void
+register_type (void)
+{
+	ephy_state_window_flags_get_type ();
+}
diff --git a/src/Makefile.am b/src/Makefile.am
index 75a8dda6b..fa9d5f765 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -99,11 +99,9 @@ libephymain_la_CPPFLAGS = \
 	-I$(top_srcdir)/lib/egg		\
 	-I$(top_srcdir)/lib/widgets   	\
 	-I$(top_srcdir)/src/bookmarks   \
-	-DSHARE_DIR=\"$(pkgdatadir)\" 	\
 	-DEXTENSIONS_DIR=\""$(libdir)/epiphany-$(EPIPHANY_MAJOR)/extensions"\" 	\
 	-DLOADER_DIR=\""$(libdir)/epiphany-$(EPIPHANY_MAJOR)/loaders"\"		\
 	-DDATADIR=\""$(datadir)"\" 	\
-	-DPIXMAP_DIR=\""$(datadir)/pixmaps"\"	\
 	$(AM_CPPFLAGS)
 
 libephymain_la_CFLAGS = \
-- 
cgit