summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-08-11 01:05:06 -0400
committerlukefromdc <[email protected]>2017-08-13 14:37:24 -0400
commit3394aaf65aca94ed93bba19f5fb4b56a3d33b139 (patch)
treeb51dcc87145183abfcd687e4d93ee20ea10c0e4a /applets
parenta90b7f0e96fbc3e1fdc00dd02d69e00a867836a2 (diff)
downloadmate-panel-3394aaf65aca94ed93bba19f5fb4b56a3d33b139.tar.bz2
mate-panel-3394aaf65aca94ed93bba19f5fb4b56a3d33b139.tar.xz
Fish: stop all warnings on removing when built in-process
Diffstat (limited to 'applets')
-rw-r--r--applets/fish/fish.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index 95faf402..4685b9d6 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -1772,6 +1772,9 @@ static void fish_applet_dispose (GObject *object)
{
FishApplet* fish = (FishApplet*) object;
+ if (fish->source_id == 0)
+ return;
+
if (fish->timeout)
{
g_source_remove (fish->timeout);