summaryrefslogtreecommitdiff
path: root/src/capplet/mate-notification-properties.c
diff options
context:
space:
mode:
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);