diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-07 07:13:11 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-07 07:13:11 +0800 |
commit | 020d759fa2d1a462d4179210bf7f5f8622246380 (patch) | |
tree | 74ffe6bf2c8005967a5651f20ed63c48d6543f61 | |
parent | 3b089d15448350161cfe7cee83dbfc57d33df11b (diff) | |
download | gsoc2013-epiphany-020d759fa2d1a462d4179210bf7f5f8622246380.tar.gz gsoc2013-epiphany-020d759fa2d1a462d4179210bf7f5f8622246380.tar.zst gsoc2013-epiphany-020d759fa2d1a462d4179210bf7f5f8622246380.zip |
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.
-rw-r--r-- | ChangeLog | 13 | ||||
-rwxr-xr-x | lib/egg/egg-toolbars-model.c | 6 | ||||
-rw-r--r-- | lib/ephy-state.c | 7 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
4 files changed, 26 insertions, 2 deletions
@@ -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 = \ |