[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBus flags of exposed methods/properties/signals
From:       Germano Massullo <germano.massullo () gmail ! com>
Date:       2019-05-17 15:08:59
Message-ID: CAGa=++Q6QDiP1G-MGGqzT-4gK+nnxZusXUtnpG=GZCB2wjsC0w () mail ! gmail ! com
[Download RAW message or body]

Hello Simon, thank you for your quick and extensive reply. You are
right, about GVariant, indeed actually I am investigating about how to
use IdleSinceHint logind property as third parameter in function
    GVariant *
    g_dbus_proxy_call_sync (GDBusProxy *proxy,
                            const gchar *method_name,
                            GVariant *parameters,
                            GDBusCallFlags flags,
                            gint timeout_msec,
                            GCancellable *cancellable,
                            GError **error)

Since I don't have any experience with GLib, I will have to do some
practice, and your hints will be very useful.
For information completeness I attach also the
g_dbus_proxy_new_for_bus_sync function I will use
g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
                                           G_DBUS_PROXY_FLAGS_NONE,
                                           NULL,
                                           org.freedesktop.login1,
                                           org/freedesktop/login1,
                                           org.freedesktop.login1.Manager,
                                           NULL, NULL)


Have a nice day
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic