[Xfce4-commits] [xfce/xfce4-session] 01/01: rollback fix of a warning (fix requires glib 2.58)
noreply at xfce.org
noreply at xfce.org
Fri Apr 12 23:08:04 CEST 2019
This is an automated email from the git hooks/post-receive script.
a l e x p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-session.
commit 20b7f95473e1b0cbd48bf92678759d726f9b816b
Author: Alexander Schwinn <alexxcons at xfce.org>
Date: Fri Apr 12 23:03:36 2019 +0200
rollback fix of a warning (fix requires glib 2.58)
---
engines/balou/config.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/engines/balou/config.c b/engines/balou/config.c
index f08ccea..6bf4d94 100644
--- a/engines/balou/config.c
+++ b/engines/balou/config.c
@@ -881,7 +881,11 @@ config_create (XfsmSplashRc *rc)
GTK_SELECTION_SINGLE);
g_signal_connect (G_OBJECT (selection), "changed",
G_CALLBACK (config_selection_changed), NULL);
+#if GLIB_CHECK_VERSION (2, 58, 0) /* TODO: Remove when glib 2.58 is required in configure.ac.in*/
g_idle_add (G_SOURCE_FUNC (config_selection_changed), selection);
+#else
+ g_idle_add ((GSourceFunc)config_selection_changed, selection);
+#endif
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE);
gtk_container_add (GTK_CONTAINER (swin), treeview);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list