summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;