diff options
-rw-r--r-- | plugins/common/msd-osd-window.c | 2 | ||||
-rw-r--r-- | plugins/mouse/msd-timeline.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/common/msd-osd-window.c b/plugins/common/msd-osd-window.c index cab027d..d241cfb 100644 --- a/plugins/common/msd-osd-window.c +++ b/plugins/common/msd-osd-window.c @@ -441,7 +441,7 @@ msd_osd_window_init (MsdOsdWindow *window) screen = gtk_widget_get_screen (GTK_WIDGET (window)); - window->priv->is_composited = gdk_screen_is_composited (screen); + window->priv->is_composited = (gdk_screen_is_composited (screen) != FALSE); window->priv->scale_factor = gtk_widget_get_scale_factor (GTK_WIDGET (window)); if (window->priv->is_composited) { diff --git a/plugins/mouse/msd-timeline.c b/plugins/mouse/msd-timeline.c index 20ad01f..3b6cf79 100644 --- a/plugins/mouse/msd-timeline.c +++ b/plugins/mouse/msd-timeline.c @@ -646,7 +646,7 @@ msd_timeline_set_loop (MsdTimeline *timeline, g_return_if_fail (MSD_IS_TIMELINE (timeline)); priv = msd_timeline_get_instance_private (timeline); - priv->loop = loop; + priv->loop = (loop != FALSE); g_object_notify (G_OBJECT (timeline), "loop"); } |