aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-10-18 19:29:17 +0800
committerChristian Persch <chpe@src.gnome.org>2003-10-18 19:29:17 +0800
commit8e878e61d90213c812163e1cf5a56381ff8cb641 (patch)
tree9da1ee081db5ec170f6b55e2c911f64a639c8182 /src/ephy-window.c
parented1beb51d5c674250dcb31db142c6cb27f996fcf (diff)
downloadgsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.gz
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.bz2
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.lz
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.xz
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.tar.zst
gsoc2013-epiphany-8e878e61d90213c812163e1cf5a56381ff8cb641.zip
Get rid of the last vestige of ephy_window_update_control(), and make the
2003-10-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (add_to_favorites), (history_site_visited_cb): * src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_set_property), (ephy_favorites_menu_get_property), (ephy_favorites_menu_class_init), (do_updates), (fav_removed_cb), (fav_added_cb), (ephy_favorites_menu_init), (ephy_favorites_menu_finalize), (ephy_favorites_menu_new): * src/ephy-favorites-menu.h: * src/ephy-window.c: * src/ephy-window.h: Get rid of the last vestige of ephy_window_update_control(), and make the favourites menu self-updating.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 0ff42c00a..3cf31c15e 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1696,29 +1696,6 @@ ephy_window_show (GtkWidget *widget)
GTK_WIDGET_CLASS (parent_class)->show (widget);
}
-static void
-update_favorites_control (EphyWindow *window)
-{
- ephy_favorites_menu_update (window->priv->fav_menu);
-}
-
-void
-ephy_window_update_control (EphyWindow *window,
- ControlID control)
-{
- g_return_if_fail (EPHY_IS_WINDOW (window));
-
- switch (control)
- {
- case FavoritesControl:
- update_favorites_control (window);
- break;
- default:
- g_warning ("unknown control specified for updating");
- break;
- }
-}
-
EphyTab *
ephy_window_get_active_tab (EphyWindow *window)
{