summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 07:21:51 +0100
committerraveit65 <[email protected]>2022-03-14 23:47:12 +0100
commiteae788e835bb97c8fcd1610a3145428520ef6ef0 (patch)
tree9de1799dbc26da0507d802d7520861fd2226f503 /plugins
parent27eaf007188f5047af2f606544fded171dbfa2f3 (diff)
downloadmate-settings-daemon-eae788e835bb97c8fcd1610a3145428520ef6ef0.tar.bz2
mate-settings-daemon-eae788e835bb97c8fcd1610a3145428520ef6ef0.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'plugins')
-rw-r--r--plugins/common/msd-osd-window.c2
-rw-r--r--plugins/mouse/msd-timeline.c2
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");
}