summaryrefslogtreecommitdiff
path: root/plugins/background
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-20 21:02:38 +0300
committermonsta <[email protected]>2016-11-20 21:02:38 +0300
commit97384cb65c885e9e29a40cb1d434440e13b5e5d2 (patch)
tree2b159aebd778004d9c3c37de0c0a290a6a200ec2 /plugins/background
parentb86e15500b46b17bac1ea98aa54fa1bfd4141fc0 (diff)
downloadmate-settings-daemon-97384cb65c885e9e29a40cb1d434440e13b5e5d2.tar.bz2
mate-settings-daemon-97384cb65c885e9e29a40cb1d434440e13b5e5d2.tar.xz
background: check for stable release of GTK+3, not for development one
Diffstat (limited to 'plugins/background')
-rw-r--r--plugins/background/msd-background-manager.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c
index d693312..70f273d 100644
--- a/plugins/background/msd-background-manager.c
+++ b/plugins/background/msd-background-manager.c
@@ -67,7 +67,7 @@ struct MsdBackgroundManagerPrivate {
GList *scr_sizes;
gboolean msd_can_draw;
-#if !GTK_CHECK_VERSION(3, 21, 0)
+#if !GTK_CHECK_VERSION(3, 22, 0)
gboolean caja_can_draw;
#endif
gboolean do_fade;
@@ -97,7 +97,7 @@ can_fade_bg (MsdBackgroundManager *manager)
return g_settings_get_boolean (manager->priv->settings, MATE_BG_KEY_BACKGROUND_FADE);
}
-#if !GTK_CHECK_VERSION(3, 21, 0)
+#if !GTK_CHECK_VERSION(3, 22, 0)
/* Whether Caja is configured to draw desktop (show-desktop-icons) */
static gboolean
caja_can_draw_bg (MsdBackgroundManager *manager)
@@ -221,7 +221,7 @@ draw_background (MsdBackgroundManager *manager,
{
MsdBackgroundManagerPrivate *p = manager->priv;
-#if GTK_CHECK_VERSION(3, 21, 0)
+#if GTK_CHECK_VERSION(3, 22, 0)
if (!p->msd_can_draw || p->draw_in_progress)
return;
#else
@@ -270,7 +270,7 @@ on_screen_size_changed (GdkScreen *screen,
MsdBackgroundManager *manager)
{
MsdBackgroundManagerPrivate *p = manager->priv;
-#if GTK_CHECK_VERSION(3, 21, 0)
+#if GTK_CHECK_VERSION(3, 22, 0)
if (!p->msd_can_draw || p->draw_in_progress)
return;
#else
@@ -347,7 +347,7 @@ settings_change_event_cb (GSettings *settings,
/* Complements on_bg_handling_changed() */
p->msd_can_draw = msd_can_draw_bg (manager);
-#if GTK_CHECK_VERSION(3, 21, 0)
+#if GTK_CHECK_VERSION(3, 22, 0)
if (p->msd_can_draw && p->bg != NULL)
{
/* Defer signal processing to avoid making the dconf backend deadlock */
@@ -418,7 +418,7 @@ on_bg_handling_changed (GSettings *settings,
MsdBackgroundManagerPrivate *p = manager->priv;
mate_settings_profile_start (NULL);
-#if !GTK_CHECK_VERSION(3, 21, 0)
+#if !GTK_CHECK_VERSION(3, 22, 0)
if (caja_is_drawing_bg (manager))
{
if (p->bg != NULL)
@@ -428,7 +428,7 @@ on_bg_handling_changed (GSettings *settings,
{
#endif
setup_background (manager);
-#if !GTK_CHECK_VERSION(3, 21, 0)
+#if !GTK_CHECK_VERSION(3, 22, 0)
}
#endif
mate_settings_profile_end (NULL);
@@ -526,7 +526,7 @@ msd_background_manager_start (MsdBackgroundManager *manager,
p->settings = g_settings_new (MATE_BG_SCHEMA);
p->msd_can_draw = msd_can_draw_bg (manager);
-#if !GTK_CHECK_VERSION(3, 21, 0)
+#if !GTK_CHECK_VERSION(3, 22, 0)
p->caja_can_draw = caja_can_draw_bg (manager);
#endif
@@ -541,7 +541,7 @@ msd_background_manager_start (MsdBackgroundManager *manager,
*/
if (p->msd_can_draw)
{
-#if !GTK_CHECK_VERSION(3, 21, 0)
+#if !GTK_CHECK_VERSION(3, 22, 0)
if (p->caja_can_draw)
{
@@ -551,7 +551,7 @@ msd_background_manager_start (MsdBackgroundManager *manager,
{
#endif
setup_background (manager);
-#if !GTK_CHECK_VERSION(3, 21, 0)
+#if !GTK_CHECK_VERSION(3, 22, 0)
}
#endif
}