After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 529695 - [dbus] instance should be last (in construct)
[dbus] instance should be last (in construct)
Status: RESOLVED DUPLICATE of bug 532290
Product: vala
Classification: Core
Component: Code Generator
0.3.x
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-24 10:51 UTC by Marc-Andre Lureau
Modified: 2008-05-23 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marc-Andre Lureau 2008-04-24 10:51:43 UTC
class Test: Object {
  dynamic DBus.Object iservice;  

  construct {
    iservice.Signal += _signal_handler;
  }

  private void _signal_handler (dynamic DBus.Object iservice) {
    
  }
}

dbus_g_proxy_connect_signal (obj, signal_name, handler, data, NULL);

static void _test_signal_handler (Test* self, DBusGProxy* iservice) {
	g_return_if_fail (IS_TEST (self));
	g_return_if_fail (DBUS_IS_G_PROXY (iservice));
}
Comment 1 Marc-Andre Lureau 2008-04-24 13:57:40 UTC
This only happens when the signal connect is in construct..
Comment 2 Jürg Billeter 2008-04-26 08:00:16 UTC
Confirming, depends on the order the methods are processed.
Comment 3 Jürg Billeter 2008-05-23 21:02:40 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 532290 ***