From c0e9048f916f4141292ca3b107735496e698cac5 Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 20 Nov 2016 21:12:35 +0300 Subject: background: add missing GTK+ version check to avoid build warning that function is only called with GTK+ < 3.22 --- plugins/background/msd-background-manager.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') 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, -- cgit v1.2.1