summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-16 23:10:06 +0200
committerPablo Barciela <[email protected]>2020-08-16 23:10:06 +0200
commit026cb1834b51ec7e531be987cc7832b5232e18a6 (patch)
tree3aa2b533ab4cbc338b25b58231174e46b9e47102
parent4cae85737568669fd9a6b34a02b5cbffdfd5668a (diff)
downloadmate-screensaver-test.tar.bz2
mate-screensaver-test.tar.xz
testtest
-rw-r--r--src/gs-watcher-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gs-watcher-x11.c b/src/gs-watcher-x11.c
index ccaa8fa..4dc38dd 100644
--- a/src/gs-watcher-x11.c
+++ b/src/gs-watcher-x11.c
@@ -405,14 +405,14 @@ on_presence_signal_cb (GDBusProxy *proxy G_GNUC_UNUSED,
watcher = GS_WATCHER (user_data);
if (g_strcmp0 (signal_name, "StatusChanged") == 0 &&
- g_variant_is_of_type (parameters, G_VARIANT_TYPE("(u)")))
+ g_variant_is_of_type (parameters, G_VARIANT_TYPE((gpointer) "(u)")))
{
g_variant_get (parameters, "(u)", &status);
set_status (watcher, status);
}
if (g_strcmp0 (signal_name, "StatusTextChanged") == 0 &&
- g_variant_is_of_type (parameters, G_VARIANT_TYPE("(s)")))
+ g_variant_is_of_type (parameters, G_VARIANT_TYPE((gpointer) "(s)")))
{
g_variant_get (parameters, "(&s)", &status_text);
set_status_text (watcher, status_text);