aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-06-14 21:03:04 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-06-14 21:04:27 +0800
commit0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa (patch)
tree1728582450220e2d44e45e12d9ac0d4ae4da5deb /src
parent25c4b47c0630b758fd97a86d9c9b3944d193fe1d (diff)
downloadgsoc2013-epiphany-0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa.tar
gsoc2013-epiphany-0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa.tar.gz
gsoc2013-epiphany-0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa.tar.bz2
gsoc2013-epiphany-0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa.tar.lz
gsoc2013-epiphany-0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa.tar.xz
gsoc2013-epiphany-0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa.tar.zst
gsoc2013-epiphany-0acc9702a2c25cb121d5e7e9d731d3b3ea26ecfa.zip
windows-commands: remove dead code
The toolbar-editor is gone, so this code should be gone too.
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index e32bd5be0..535745741 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -837,24 +837,9 @@ window_cmd_view_fullscreen (GtkAction *action,
EphyWindow *window)
{
if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)))
- {
- GtkWidget *toolbar_editor;
- toolbar_editor = GTK_WIDGET (g_object_get_data (G_OBJECT (window),
- "EphyToolbarEditor"));
- if (toolbar_editor != NULL)
- {
- /* We don't want the toolbar editor to show
- * while in fullscreen.
- */
- gtk_dialog_response (GTK_DIALOG (toolbar_editor),
- GTK_RESPONSE_DELETE_EVENT);
- }
gtk_window_fullscreen (GTK_WINDOW (window));
- }
else
- {
gtk_window_unfullscreen (GTK_WINDOW (window));
- }
}
void