diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index f64f310be..1c6ebf531 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -42,7 +42,6 @@ #include "ephy-encoding-menu.h" #include "ephy-tabs-menu.h" #include "ephy-stock-icons.h" -#include "ephy-toolbars-model.h" #include "session.h" #include "ephy-favicon-cache.h" @@ -497,14 +496,9 @@ static void ephy_window_fullscreen (EphyWindow *window) { GtkWidget *popup, *button, *icon, *label, *hbox; - EphyToolbarsModel *tmodel; window->priv->is_fullscreen = TRUE; - tmodel = EPHY_TOOLBARS_MODEL - (ephy_shell_get_toolbars_model (ephy_shell)); - ephy_toolbars_model_set_flag (tmodel, EGG_TB_MODEL_ICONS_ONLY); - popup = gtk_window_new (GTK_WINDOW_POPUP); window->priv->exit_fullscreen_popup = popup; @@ -541,14 +535,8 @@ ephy_window_fullscreen (EphyWindow *window) static void ephy_window_unfullscreen (EphyWindow *window) { - EphyToolbarsModel *tmodel; - window->priv->is_fullscreen = FALSE; - tmodel = EPHY_TOOLBARS_MODEL - (ephy_shell_get_toolbars_model (ephy_shell)); - ephy_toolbars_model_unset_flag (tmodel, EGG_TB_MODEL_ICONS_ONLY); - g_signal_handlers_disconnect_by_func (G_OBJECT (gdk_screen_get_default ()), G_CALLBACK (size_changed_cb), window); |