aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-28 02:13:11 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-28 02:13:11 +0800
commita913abc0b33ea25f706d5ebf6e98626d31da39d5 (patch)
tree9d109345210074d0a83312191a74ff91c1ceca61 /src/bookmarks/ephy-bookmarks.c
parent03b4c9bb41fcedda967007ee860d567ecbaed365 (diff)
downloadgsoc2013-epiphany-a913abc0b33ea25f706d5ebf6e98626d31da39d5.tar
gsoc2013-epiphany-a913abc0b33ea25f706d5ebf6e98626d31da39d5.tar.gz
gsoc2013-epiphany-a913abc0b33ea25f706d5ebf6e98626d31da39d5.tar.bz2
gsoc2013-epiphany-a913abc0b33ea25f706d5ebf6e98626d31da39d5.tar.lz
gsoc2013-epiphany-a913abc0b33ea25f706d5ebf6e98626d31da39d5.tar.xz
gsoc2013-epiphany-a913abc0b33ea25f706d5ebf6e98626d31da39d5.tar.zst
gsoc2013-epiphany-a913abc0b33ea25f706d5ebf6e98626d31da39d5.zip
Don't reference private objects from public headers. Fixes bug #153766.
2004-09-27 Christian Persch <chpe@cvs.gnome.org> * lib/egg/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (remove_from_model), (move_in_model): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_property): * src/bookmarks/ephy-topic-action.c: (remove_from_model), (move_in_model): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): Don't reference private objects from public headers. Fixes bug #153766.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 1a371d62b..ff351272d 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -207,7 +207,7 @@ get_item_data_forward_cb (EggToolbarsModel *model,
return retval;
}
-EggToolbarsModel *
+GObject *
ephy_bookmarks_get_toolbars_model (EphyBookmarks *eb)
{
g_return_val_if_fail (EPHY_IS_BOOKMARKS (eb), NULL);
@@ -240,7 +240,7 @@ ephy_bookmarks_get_toolbars_model (EphyBookmarks *eb)
}
}
- return EGG_TOOLBARS_MODEL (eb->priv->toolbars_model);
+ return G_OBJECT (eb->priv->toolbars_model);
}
static void