summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-08-09 14:30:44 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-08-09 15:58:51 +0800
commit483d4df86f3eeb789f53458c7c4cd8cdd201ada9 (patch)
tree51f2b6d36003720f69e3d72a83e4b7b4ed36256a
parentfc79aaf5966ccc3846ae3dba0b0b436ba680aaf8 (diff)
downloadgjs-483d4df86f3eeb789f53458c7c4cd8cdd201ada9.tar.gz
gjs-util.c: Fix building against GLib-2.68.x or later
... on Visual Studio, as returning a value in a void-retype function is considered an error there.
-rw-r--r--libgjs-private/gjs-util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgjs-private/gjs-util.c b/libgjs-private/gjs-util.c
index e0033ce3..6e9ffec2 100644
--- a/libgjs-private/gjs-util.c
+++ b/libgjs-private/gjs-util.c
@@ -142,9 +142,9 @@ void gjs_g_binding_group_bind_full(
from_closure = g_cclosure_new(G_CALLBACK(from_callback), from_data,
G_CLOSURE_NOTIFY(from_notify));
- return g_binding_group_bind_with_closures(source, source_property, target,
- target_property, flags,
- to_closure, from_closure);
+ g_binding_group_bind_with_closures(source, source_property, target,
+ target_property, flags,
+ to_closure, from_closure);
}
#undef G_CLOSURE_NOTIFY