summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);