summaryrefslogtreecommitdiff
path: root/libmdock
diff options
context:
space:
mode:
Diffstat (limited to 'libmdock')
-rw-r--r--libmdock/thumbnailer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmdock/thumbnailer.c b/libmdock/thumbnailer.c
index 7687caa..0e3d44c 100644
--- a/libmdock/thumbnailer.c
+++ b/libmdock/thumbnailer.c
@@ -55,7 +55,7 @@ void thumbnailer_enable_for_window(WnckWindow *window)
static gboolean thumbnailer_do_update(gpointer data)
{
ThumbnailData *tdata = g_object_get_qdata(G_OBJECT(data), mdock_thumbnail_data_quark());
- g_return_if_fail(tdata);
+ g_return_val_if_fail(tdata, G_SOURCE_REMOVE);
thumbnailer_update_thumbnail(WNCK_WINDOW(data));
tdata->update_source = 0;
return G_SOURCE_REMOVE;