summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 18:20:38 +0200
committerinfirit <[email protected]>2014-07-24 18:05:54 +0200
commit2b764ad6d3a47ead1c478eddcc3a28529b5347e6 (patch)
tree032ae27720c25e80cc8f7ac1f5eea0b7013b364b
parentb66a04441ee5a416d8faf4c27ca9f2f82d0a6473 (diff)
downloadeom-2b764ad6d3a47ead1c478eddcc3a28529b5347e6.tar.bz2
eom-2b764ad6d3a47ead1c478eddcc3a28529b5347e6.tar.xz
Remove all calls to gtk_dialog_set_has_separator
-rw-r--r--src/eom-close-confirmation-dialog.c3
-rw-r--r--src/eom-window.c9
2 files changed, 0 insertions, 12 deletions
diff --git a/src/eom-close-confirmation-dialog.c b/src/eom-close-confirmation-dialog.c
index 81cf9c9..5966de1 100644
--- a/src/eom-close-confirmation-dialog.c
+++ b/src/eom-close-confirmation-dialog.c
@@ -180,9 +180,6 @@ eom_close_confirmation_dialog_init (EomCloseConfirmationDialog *dlg)
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), 14);
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
-#if !GTK_CHECK_VERSION(2,22,0)
- gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
-#endif
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE);
gtk_window_set_title (GTK_WINDOW (dlg), "");
diff --git a/src/eom-window.c b/src/eom-window.c
index 5e3e6c4..da0f3a2 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -2649,10 +2649,6 @@ eom_window_cmd_edit_toolbar (GtkAction *action, gpointer *user_data)
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 2);
- #if !GTK_CHECK_VERSION(3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
- #endif
-
gtk_window_set_default_size (GTK_WINDOW (dialog), 500, 400);
editor = egg_toolbar_editor_new (window->priv->ui_mgr,
@@ -5060,11 +5056,6 @@ eom_window_window_state_event (GtkWidget *widget,
show = !(event->new_window_state &
(GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN));
-
- #if !GTK_CHECK_VERSION(3, 0, 0)
- eom_statusbar_set_has_resize_grip (EOM_STATUSBAR (window->priv->statusbar),
- show);
- #endif
}
return FALSE;