summaryrefslogtreecommitdiff
path: root/finch/plugins/gntgf/gntgf.c
diff options
context:
space:
mode:
Diffstat (limited to 'finch/plugins/gntgf/gntgf.c')
-rw-r--r--finch/plugins/gntgf/gntgf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/finch/plugins/gntgf/gntgf.c b/finch/plugins/gntgf/gntgf.c
index a4d0b3e87c..d70c659b5e 100644
--- a/finch/plugins/gntgf/gntgf.c
+++ b/finch/plugins/gntgf/gntgf.c
@@ -215,7 +215,8 @@ notify(PurpleConversation *conv, const char *fmt, ...)
}
gnt_widget_draw(window);
- toast->timer = g_timeout_add_seconds(4, (GSourceFunc)remove_toaster, toast);
+ toast->timer = g_timeout_add_seconds(4, G_SOURCE_FUNC(remove_toaster),
+ toast);
toasters = g_list_prepend(toasters, toast);
}