[Xfce4-commits] [xfce/xfconf] 03/31: Cast proxy to XfconfClient to get rid of the compiler warning

noreply at xfce.org noreply at xfce.org
Thu Jun 1 13:32:56 CEST 2017


This is an automated email from the git hooks/post-receive script.

a   l   i       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 db9c47c9fcb02e61329b90c00f8a0799000dfdaf
Author: Ali Abdallah <aliovx at gmail.com>
Date:   Thu Feb 4 19:44:18 2016 +0100

    Cast proxy to XfconfClient to get rid of the compiler warning
---
 xfconf/xfconf-channel.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/xfconf/xfconf-channel.c b/xfconf/xfconf-channel.c
index 36850f1..3950ada 100644
--- a/xfconf/xfconf-channel.c
+++ b/xfconf/xfconf-channel.c
@@ -669,7 +669,7 @@ xfconf_channel_is_property_locked(XfconfChannel *channel,
     gchar *real_property = REAL_PROP(channel, property);
     ERROR_DEFINE;
     
-    if (!xfconf_client_call_is_property_locked_sync (proxy, channel->channel_name,
+    if (!xfconf_client_call_is_property_locked_sync ((XfconfClient*)proxy, channel->channel_name,
                                                      property, &locked, NULL, ERROR))
     {
         ERROR_CHECK;
@@ -2296,11 +2296,12 @@ out:
 gchar **
 xfconf_list_channels(void)
 {
-    DBusGProxy *proxy = _xfconf_get_dbus_g_proxy();
+    GDBusProxy *proxy = _xfconf_get_gdbus_proxy();
     gchar **channels = NULL;
     ERROR_DEFINE;
 
-    if(!xfconf_client_list_channels(proxy, &channels, ERROR))
+    if(!xfconf_client_call_list_channels_sync ((XfconfClient*)proxy, 
+                                               &channels, NULL, ERROR))
         ERROR_CHECK;
 
     return channels;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list