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 783524 - Be more explicit about how the program name might be automatically set
Be more explicit about how the program name might be automatically set
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: docs
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2017-06-07 18:54 UTC by Debarshi Ray
Modified: 2017-06-07 19:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
docs: The program name is also set by g_application_run (1.76 KB, patch)
2017-06-07 18:58 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2017-06-07 18:54:33 UTC
I was comparing the start-up sequence of a GJS application using package.js with that of its pure C and GLib counterpart, and realized that the program name (via g_set_prgname) isn't just set by gtk_init. It might be nice to update the documentation to also mention GApplication.
Comment 1 Debarshi Ray 2017-06-07 18:58:00 UTC
Created attachment 353356 [details] [review]
docs: The program name is also set by g_application_run
Comment 2 Matthias Clasen 2017-06-07 19:00:26 UTC
Review of attachment 353356 [details] [review]:

sure, looks good