From 8e878e61d90213c812163e1cf5a56381ff8cb641 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 18 Oct 2003 11:29:17 +0000 Subject: Get rid of the last vestige of ephy_window_update_control(), and make the 2003-10-18 Christian Persch * 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. --- src/ephy-window.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/ephy-window.c') 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) { -- cgit v1.2.3