From 2b764ad6d3a47ead1c478eddcc3a28529b5347e6 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 17 May 2014 18:20:38 +0200 Subject: Remove all calls to gtk_dialog_set_has_separator --- src/eom-close-confirmation-dialog.c | 3 --- src/eom-window.c | 9 --------- 2 files changed, 12 deletions(-) (limited to 'src') 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; -- cgit v1.2.1