Stefan on Nostr: Ich glaube ich hab's,... BTW, I love Debsources 🙂 `gsignalnew("xmpp-new-contact", ...
Ich glaube ich hab's,... BTW, I love Debsources 🙂
`gsignalnew("xmpp-new-contact", GTYPEFROM_CLASS(klass),
GSIGNALRUN_LAST, 0, NULL, NULL,
gcclosuremarshalVOIDPOINTER, GTYPENONE, 1, GTYPE_POINTER);`
g_signal_emit_by_name(userdata, "xmpp-new-contact",buddy);
g_signal_connect_object(self->_wrapper, "xmpp-new-contact", G_CALLBACK(xmpp_new_contact), self, G_CONNECT_DEFAULT);
static void xmpp_new_contact(XmppWrapper *_wrapper, gpointer data, XmppConnection *self)
In data ist jeder der buddy,.. muss ich mir noch mal genauer ansehen.
`gsignalnew("xmpp-new-contact", GTYPEFROM_CLASS(klass),
GSIGNALRUN_LAST, 0, NULL, NULL,
gcclosuremarshalVOIDPOINTER, GTYPENONE, 1, GTYPE_POINTER);`
g_signal_emit_by_name(userdata, "xmpp-new-contact",buddy);
g_signal_connect_object(self->_wrapper, "xmpp-new-contact", G_CALLBACK(xmpp_new_contact), self, G_CONNECT_DEFAULT);
static void xmpp_new_contact(XmppWrapper *_wrapper, gpointer data, XmppConnection *self)
In data ist jeder der buddy,.. muss ich mir noch mal genauer ansehen.