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 759554 - g_application_run() calls g_main_context_default() repeatidly
g_application_run() calls g_main_context_default() repeatidly
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gapplication
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-12-16 16:42 UTC by Xavier Claessens
Modified: 2015-12-16 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GApplication: Avoid getting the default context repeatidly (1.73 KB, patch)
2015-12-16 16:43 UTC, Xavier Claessens
committed Details | Review

Description Xavier Claessens 2015-12-16 16:42:42 UTC
... and it takes a global lock.
Comment 1 Xavier Claessens 2015-12-16 16:43:19 UTC
Created attachment 317520 [details] [review]
GApplication: Avoid getting the default context repeatidly

This avoids getting a global lock on every main loop iteration.
Comment 2 Xavier Claessens 2015-12-16 16:46:01 UTC
Attachment 317520 [details] pushed as aa9a33b - GApplication: Avoid getting the default context repeatidly