mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
parent
56b0b8069d
commit
bff4db527e
@ -593,11 +593,15 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*
|
*
|
||||||
* Emitted when a signal from the remote object and interface that @proxy is for, has been received.
|
* Emitted when a signal from the remote object and interface that @proxy is for, has been received.
|
||||||
*
|
*
|
||||||
|
* Since 2.72 this signal supports detailed connections. You can connect to
|
||||||
|
* the detailed signal `g-signal::x` in order to receive callbacks only when
|
||||||
|
* signal `x` is received from the remote object.
|
||||||
|
*
|
||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
signals[SIGNAL_SIGNAL] = g_signal_new (I_("g-signal"),
|
signals[SIGNAL_SIGNAL] = g_signal_new (I_("g-signal"),
|
||||||
G_TYPE_DBUS_PROXY,
|
G_TYPE_DBUS_PROXY,
|
||||||
G_SIGNAL_RUN_LAST | G_SIGNAL_MUST_COLLECT,
|
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED | G_SIGNAL_MUST_COLLECT,
|
||||||
G_STRUCT_OFFSET (GDBusProxyClass, g_signal),
|
G_STRUCT_OFFSET (GDBusProxyClass, g_signal),
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
@ -890,7 +894,7 @@ on_signal_received (GDBusConnection *connection,
|
|||||||
|
|
||||||
g_signal_emit (proxy,
|
g_signal_emit (proxy,
|
||||||
signals[SIGNAL_SIGNAL],
|
signals[SIGNAL_SIGNAL],
|
||||||
0,
|
g_quark_try_string (signal_name),
|
||||||
sender_name,
|
sender_name,
|
||||||
signal_name,
|
signal_name,
|
||||||
parameters);
|
parameters);
|
||||||
|
Loading…
Reference in New Issue
Block a user