[Xfce4-commits] [xfce/xfconf] 01/01: Fix warnings reported by GCC 8 (Bug #15112)
noreply at xfce.org
noreply at xfce.org
Wed Feb 13 01:58:27 CET 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfconf.
commit 0cb3bfa9adb383117251e0799beafcc7e89fcb10
Author: Olivier Duchateau <duchateau.olivier at gmail.com>
Date: Sun Feb 3 16:08:15 2019 +0100
Fix warnings reported by GCC 8 (Bug #15112)
---
xfconf/xfconf-channel.c | 1 +
xfconfd/xfconf-daemon.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/xfconf/xfconf-channel.c b/xfconf/xfconf-channel.c
index 7b3a7a6..ce45f05 100644
--- a/xfconf/xfconf-channel.c
+++ b/xfconf/xfconf-channel.c
@@ -327,6 +327,7 @@ xfconf_channel_get_g_property(GObject *object,
case PROP_IS_SINGLETON:
g_value_set_boolean(value, channel->is_singleton);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
diff --git a/xfconfd/xfconf-daemon.c b/xfconfd/xfconf-daemon.c
index b96edfd..fbe5da3 100644
--- a/xfconfd/xfconf-daemon.c
+++ b/xfconfd/xfconf-daemon.c
@@ -132,8 +132,8 @@ xfconf_daemon_backend_property_changed(XfconfBackend *backend,
gpointer user_data)
{
XfconfPropChangedData *pdata = g_slice_new0(XfconfPropChangedData);
- pdata->xfconfd = g_object_ref(G_OBJECT(user_data));
- pdata->backend = g_object_ref(G_OBJECT(backend));
+ pdata->xfconfd = g_object_ref(XFCONF_DAEMON(user_data));
+ pdata->backend = g_object_ref(XFCONF_BACKEND(backend));
pdata->channel = g_strdup(channel);
pdata->property = g_strdup(property);
g_idle_add(xfconf_daemon_emit_property_changed_idled, pdata);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list