gsignal: Signal connection ids are always > 0 if successful
authorColin Walters <walters@verbum.org>
Tue, 3 Dec 2013 22:15:14 +0000 (17:15 -0500)
committerColin Walters <walters@verbum.org>
Wed, 4 Dec 2013 00:23:49 +0000 (19:23 -0500)
commit8f4dc7012ef832b038777e88e8e37b051f524194
tree1da6b84f7050ee67905a860d6d997a43b24adfd6
parentb2bf13ccdd08cba7ad33e6ac588120d0cbed54fa
gsignal: Signal connection ids are always > 0 if successful

Note this explicitly so that people can rely on doing:

if (mystruct->sigid > 0)
  g_signal_disconnect (mystruct->object, mystruct->sigid);

https://bugzilla.gnome.org/show_bug.cgi?id=719809
gobject/gsignal.c
gobject/gsignal.h