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 588247 - avoid pointless warnings
avoid pointless warnings
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-10 14:00 UTC by Matthias Clasen
Modified: 2009-07-14 20:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (953 bytes, patch)
2009-07-10 14:01 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2009-07-10 14:00:42 UTC
The idletime counter code in gs-idle-monitor.c produces warnings because it removes the watch without waiting for the destroy notify to know that both associated alarms are gone for good. This is an ok thing to do, but then there is no need to warn when it happens...

Here is a patch that changes the g_warning to a g_debug to avoid filling up .xsession-errors needlessly.
Comment 1 Matthias Clasen 2009-07-10 14:01:15 UTC
Created attachment 138191 [details] [review]
patch
Comment 2 Lucas Rocha 2009-07-14 20:42:07 UTC
Committed as 81d38cee8f0b624b0ad665f9812179923b2826f0. Thanks.