! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] xfce4-sensors-plugin: Fix removing GSources
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Harald Judt 2014-10-26 19:08:07 CET
Created attachment 5707 
fix-removing-gsources.patch

On exiting the panel, xfce4-netload-plugin prints the following CRITICAL GLib:
GLib-CRITICAL **: Source ID xxx was not found when attempting to remove it

This patch makes it check to see if a GSource exists before destroying it,
since any GSource may be destroyed early in the main event loop if its
dispatch callback returns FALSE.
Comment 1 Fabian Nowak editbugs 2015-02-17 21:36:57 CET
Thanks, will begin caring ;)
Comment 2 Fabian Nowak editbugs 2015-02-18 19:48:47 CET
Thanks, seems to work. Though, other plugins still seem to exhibit the same problems, unless I am running too old versions of them.

Bug #11252

Reported by:
Harald Judt
Reported on: 2014-10-26
Last modified on: 2015-02-18

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

fix-removing-gsources.patch (2.11 KB, patch)
2014-10-26 19:08 CET , Harald Judt
no flags

Additional information