summaryrefslogtreecommitdiff
path: root/finch/plugins/gntgf/gntgf.c
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2023-04-30 17:42:35 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2023-04-30 17:42:35 -0500
commitff0c453f01c96f89d249e6717b243667d6940604 (patch)
treea2a2e89c4cad1a9cec6de3d4d07d26e913c7ec94 /finch/plugins/gntgf/gntgf.c
parente2af3524445d4c375d4d09ea89f7460fbea4ad5e (diff)
downloadpidgin-ff0c453f01c96f89d249e6717b243667d6940604.tar.gz
Use G_SOURCE_FUNC macro moreHEADmaster
It was added in GLib 2.58 Testing Done: Compiled only. Reviewed at https://reviews.imfreedom.org/r/2446/
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);
}