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 726872 - gio: Add names to idles and timeouts
gio: Add names to idles and timeouts
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-03-22 12:18 UTC by Bastien Nocera
Modified: 2014-03-28 00:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gio: Add names to idles and timeouts (13.13 KB, patch)
2014-03-22 12:18 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2014-03-22 12:18:43 UTC
.
Comment 1 Bastien Nocera 2014-03-22 12:18:47 UTC
Created attachment 272625 [details] [review]
gio: Add names to idles and timeouts

This isn't too useful for some of the "return result in idle"
functions, but it's better than nothing.
Comment 2 Matthias Clasen 2014-03-23 16:47:18 UTC
Review of attachment 272625 [details] [review]:

Do we reliably get these names in debug output now ? Would be great to add some information about this to the 'how to run and debug...' section in the docs. In any case, adding these names looks good.
Comment 3 Dan Winship 2014-03-23 18:59:12 UTC
Comment on attachment 272625 [details] [review]
gio: Add names to idles and timeouts

>+  g_source_set_name (source, "[gio] complete_in_idle_cb");

I think the name of the object this is related to would be more useful than "[gio]".
Comment 4 Bastien Nocera 2014-03-28 00:51:36 UTC
Attachment 272625 [details] pushed as 8792609 - gio: Add names to idles and timeouts

Anything better will have to go in another bug/patch.