summaryrefslogtreecommitdiff
path: root/src/capplet/mate-notification-properties.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 20:16:44 +0300
committerraveit65 <[email protected]>2018-01-30 09:09:33 +0100
commitbc42c561e29041c168b806a5618580066aa8a222 (patch)
treed5889961598cb89dc7231b4fbbdc0266c01bc1c0 /src/capplet/mate-notification-properties.c
parent4a4687f22d854e5d4736830f513c577439e42151 (diff)
downloadmate-notification-daemon-bc42c561e29041c168b806a5618580066aa8a222.tar.bz2
mate-notification-daemon-bc42c561e29041c168b806a5618580066aa8a222.tar.xz
require GTK+ 3.22 and GLib 2.50
and drop additional checks for min/max GLib versions, it's not needed
Diffstat (limited to 'src/capplet/mate-notification-properties.c')
-rw-r--r--src/capplet/mate-notification-properties.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/capplet/mate-notification-properties.c b/src/capplet/mate-notification-properties.c
index 22229d3..2f5b103 100644
--- a/src/capplet/mate-notification-properties.c
+++ b/src/capplet/mate-notification-properties.c
@@ -213,11 +213,7 @@ static void notification_properties_dialog_setup_monitors(NotificationAppletDial
screen = gdk_display_get_default_screen(display);
g_assert(screen != NULL);
-#if GTK_CHECK_VERSION (3, 22, 0)
num_monitors = gdk_display_get_n_monitors(display);
-#else
- num_monitors = gdk_screen_get_n_monitors(screen);
-#endif
g_assert(num_monitors >= 1);
store = gtk_list_store_new(N_COLUMNS_MONITOR, G_TYPE_INT);