2015-10-22 02:11:05 +02:00
|
|
|
--- a/libnemo-private/nemo-action.c
|
|
|
|
+++ b/libnemo-private/nemo-action.c
|
2016-04-25 10:38:54 +02:00
|
|
|
@@ -1322,6 +1322,7 @@ check_gsettings_condition (NemoAction *a
|
2015-10-22 02:11:05 +02:00
|
|
|
g_strfreev (split);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
+ return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static gboolean
|
2016-11-09 13:16:13 +01:00
|
|
|
--- a/libnemo-private/nemo-desktop-utils.c
|
|
|
|
+++ b/libnemo-private/nemo-desktop-utils.c
|
|
|
|
@@ -82,15 +82,7 @@ nemo_desktop_utils_get_primary_monitor (
|
|
|
|
#if GTK_CHECK_VERSION (3, 22, 0)
|
|
|
|
ensure_display ();
|
|
|
|
|
|
|
|
- gint n_mon = gdk_display_get_n_monitors (default_display);
|
|
|
|
- gint i;
|
|
|
|
-
|
|
|
|
- for (i = 0; i < n_mon; i ++) {
|
|
|
|
- GdkMonitor *monitor = gdk_display_get_monitor (default_display, i);
|
|
|
|
- if (gdk_monitor_is_primary (monitor)) {
|
|
|
|
- return i;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
+ return gdk_display_get_primary_monitor (default_display);
|
|
|
|
#else
|
|
|
|
ensure_screen ();
|
|
|
|
|
2015-10-22 02:11:05 +02:00
|
|
|
--- a/libnemo-private/nemo-monitor.c
|
|
|
|
+++ b/libnemo-private/nemo-monitor.c
|
|
|
|
@@ -78,6 +78,7 @@ schedule_call_consume_changes (void)
|
|
|
|
call_consume_changes_idle_id =
|
|
|
|
g_idle_add (call_consume_changes_idle_cb, NULL);
|
|
|
|
}
|
|
|
|
+ return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|