diff options
author | monsta <[email protected]> | 2018-01-28 22:19:00 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-30 17:06:31 +0100 |
commit | 2165616a83855afbb1c9b69c736de2e7c7dfbdf8 (patch) | |
tree | 7ac83afa0d7b77e49e6bb7f8b02383693c207d22 /logview/src/logview-window.c | |
parent | 526b193ba678a7826af232526dfec0a37836a7e5 (diff) | |
download | mate-utils-2165616a83855afbb1c9b69c736de2e7c7dfbdf8.tar.bz2 mate-utils-2165616a83855afbb1c9b69c736de2e7c7dfbdf8.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'logview/src/logview-window.c')
-rw-r--r-- | logview/src/logview-window.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/logview/src/logview-window.c b/logview/src/logview-window.c index 23fcc7b7..e20208b2 100644 --- a/logview/src/logview-window.c +++ b/logview/src/logview-window.c @@ -356,11 +356,7 @@ logview_help (GtkAction *action, GtkWidget *parent_window) { GError *error = NULL; -#if GTK_CHECK_VERSION (3, 22, 0) gtk_show_uri_on_window (GTK_WINDOW (parent_window), -#else - gtk_show_uri (gtk_widget_get_screen (parent_window), -#endif "help:mate-system-log", gtk_get_current_event_time (), &error); @@ -1200,12 +1196,8 @@ message_area_create_error_box (LogviewWindow *window, gtk_box_pack_start (GTK_BOX (vbox), primary_label, TRUE, TRUE, 0); gtk_label_set_use_markup (GTK_LABEL (primary_label), TRUE); gtk_label_set_line_wrap (GTK_LABEL (primary_label), TRUE); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (primary_label), 0.0); gtk_label_set_yalign (GTK_LABEL (primary_label), 0.5); -#else - gtk_misc_set_alignment (GTK_MISC (primary_label), 0.0, 0.5); -#endif gtk_widget_set_can_focus (primary_label, TRUE); gtk_label_set_selectable (GTK_LABEL (primary_label), TRUE); @@ -1218,12 +1210,8 @@ message_area_create_error_box (LogviewWindow *window, gtk_label_set_use_markup (GTK_LABEL (secondary_label), TRUE); gtk_label_set_line_wrap (GTK_LABEL (secondary_label), TRUE); gtk_label_set_selectable (GTK_LABEL (secondary_label), TRUE); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (secondary_label), 0.0); gtk_label_set_yalign (GTK_LABEL (secondary_label), 0.5); -#else - gtk_misc_set_alignment (GTK_MISC (secondary_label), 0.0, 0.5); -#endif window->priv->message_secondary = secondary_label; |