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 781886 - Assertion 'cookie > 0' failed
Assertion 'cookie > 0' failed
Status: RESOLVED FIXED
Product: gnome-games
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-28 09:45 UTC by Adrien Plazas
Modified: 2017-05-08 09:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ui: Check the inhibition cookie (1.02 KB, patch)
2017-05-08 09:35 UTC, Adrien Plazas
committed Details | Review

Description Adrien Plazas 2017-04-28 09:45:49 UTC
I got this critical error:
Gtk-CRITICAL **: gtk_application_uninhibit: assertion 'cookie > 0' failed
Comment 1 Adrien Plazas 2017-05-08 09:35:54 UTC
Created attachment 351331 [details] [review]
ui: Check the inhibition cookie

Check that the inhibition cookie isn't 0 before using it in
ApplicationWindow.uninhibit(), this avoids a runtime error message.
Comment 2 Adrien Plazas 2017-05-08 09:47:56 UTC
Attachment 351331 [details] pushed as f694588 - ui: Check the inhibition cookie