diff options
author | infirit <[email protected]> | 2014-05-17 04:20:10 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-09-23 13:31:02 +0200 |
commit | d51892aff7ea9fd49a29e6bc24333753083e798a (patch) | |
tree | 497ffd908a12def5728093a5d54a9e96f0a820fe /shell | |
parent | 5a584acf7d6034f3e3854377ab883df76b25e9fd (diff) | |
download | atril-d51892aff7ea9fd49a29e6bc24333753083e798a.tar.bz2 atril-d51892aff7ea9fd49a29e6bc24333753083e798a.tar.xz |
Drop support for gtk+ < 2.24
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-annotation-properties-dialog.c | 3 | ||||
-rw-r--r-- | shell/ev-password-view.c | 3 | ||||
-rw-r--r-- | shell/ev-properties-dialog.c | 3 | ||||
-rw-r--r-- | shell/ev-window.c | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/shell/ev-annotation-properties-dialog.c b/shell/ev-annotation-properties-dialog.c index 40f8a972..81c1fd95 100644 --- a/shell/ev-annotation-properties-dialog.c +++ b/shell/ev-annotation-properties-dialog.c @@ -139,9 +139,6 @@ ev_annotation_properties_dialog_init (EvAnnotationPropertiesDialog *annot_dialog gtk_window_set_title (GTK_WINDOW (annot_dialog), _("Annotation Properties")); gtk_window_set_destroy_with_parent (GTK_WINDOW (annot_dialog), TRUE); gtk_container_set_border_width (GTK_CONTAINER (annot_dialog), 5); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (dialog, FALSE); -#endif gtk_dialog_add_buttons (dialog, GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, GTK_STOCK_APPLY, GTK_RESPONSE_APPLY, diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c index b6ead823..4b81ed2b 100644 --- a/shell/ev-password-view.c +++ b/shell/ev-password-view.c @@ -255,9 +255,6 @@ ev_password_view_ask_password (EvPasswordView *password_view) action_area = gtk_dialog_get_action_area (dialog); /* Set the dialog up with HIG properties */ -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (dialog, FALSE); -#endif gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */ gtk_container_set_border_width (GTK_CONTAINER (action_area), 5); diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c index cefedbd6..03430759 100644 --- a/shell/ev-properties-dialog.c +++ b/shell/ev-properties-dialog.c @@ -61,9 +61,6 @@ ev_properties_dialog_init (EvPropertiesDialog *properties) gtk_window_set_title (GTK_WINDOW (properties), _("Properties")); gtk_window_set_destroy_with_parent (GTK_WINDOW (properties), TRUE); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (properties), FALSE); -#endif gtk_container_set_border_width (GTK_CONTAINER (properties), 5); gtk_box_set_spacing (content_area, 2); diff --git a/shell/ev-window.c b/shell/ev-window.c index 2a3189d3..58985c03 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4333,9 +4333,6 @@ ev_window_cmd_edit_toolbar (GtkAction *action, EvWindow *ev_window) gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE); gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)), 5); gtk_box_set_spacing (GTK_BOX (content_area), 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); toolbar = EGG_EDITABLE_TOOLBAR (ev_window->priv->toolbar); |