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 671904 - main: Avoid warning on exit
main: Avoid warning on exit
Status: RESOLVED FIXED
Product: cheese
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: 3.4
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-03-12 14:15 UTC by Bastien Nocera
Modified: 2012-03-12 20:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main: Avoid warning on exit (966 bytes, patch)
2012-03-12 14:15 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2012-03-12 14:15:15 UTC
.
Comment 1 Bastien Nocera 2012-03-12 14:15:17 UTC
Created attachment 209483 [details] [review]
main: Avoid warning on exit

When the last window is destroyed, GApplication will
automatically exit the main loop.

Stops warnings like this on exit:
Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed
Comment 2 David King 2012-03-12 20:12:35 UTC
Comment on attachment 209483 [details] [review]
main: Avoid warning on exit

(In reply to comment #1)
> Stops warnings like this on exit:
> Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

This warning appeared due to changes in GTK+ 3.3.4, so I added that information to the patch and pushed it to master as commit 9628045226e055b8fbd809f7f814c3509df58f8d. Thanks!