summaryrefslogtreecommitdiff
path: root/plugins/background/msd-background-manager.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-20 21:12:35 +0300
committermonsta <[email protected]>2016-11-20 21:12:35 +0300
commitc0e9048f916f4141292ca3b107735496e698cac5 (patch)
treef88dc06a4fbc390b6de8628d1c082450417abf9f /plugins/background/msd-background-manager.c
parent97384cb65c885e9e29a40cb1d434440e13b5e5d2 (diff)
downloadmate-settings-daemon-c0e9048f916f4141292ca3b107735496e698cac5.tar.bz2
mate-settings-daemon-c0e9048f916f4141292ca3b107735496e698cac5.tar.xz
background: add missing GTK+ version check to avoid build warning
that function is only called with GTK+ < 3.22
Diffstat (limited to 'plugins/background/msd-background-manager.c')
-rw-r--r--plugins/background/msd-background-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c
index 70f273d..ca5bc79 100644
--- a/plugins/background/msd-background-manager.c
+++ b/plugins/background/msd-background-manager.c
@@ -485,6 +485,7 @@ on_session_manager_signal (GDBusProxy *proxy,
}
}
+#if !GTK_CHECK_VERSION(3, 22, 0)
static void
draw_bg_after_session_loads (MsdBackgroundManager *manager)
{
@@ -513,6 +514,7 @@ draw_bg_after_session_loads (MsdBackgroundManager *manager)
G_CALLBACK (on_session_manager_signal),
manager);
}
+#endif
gboolean
msd_background_manager_start (MsdBackgroundManager *manager,