summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2021-08-11 16:44:05 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2021-08-11 16:46:11 +0800
commite420f6fd809b4971f10179b8d342093a0bb1240f (patch)
treedf5f834814a652a0f0fe9895c0164233b214a980
parentc92b78ccc110fd98e47d835ce29ce200ec2345d4 (diff)
downloadlibgd-gd.msvc.tar.gz
gd-main-box-child.c: Fix builds against newer GLib releasesgd.msvc
Avoid returning a value on a 'void' function, which is considered an error when building against GLib-2.68.x or later on Visual Studio when msvc_recommended_pragmas.h is force-included.
-rw-r--r--libgd/gd-main-box-child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgd/gd-main-box-child.c b/libgd/gd-main-box-child.c
index 9a1118d..42c9588 100644
--- a/libgd/gd-main-box-child.c
+++ b/libgd/gd-main-box-child.c
@@ -170,7 +170,7 @@ gd_main_box_child_set_selected (GdMainBoxChild *self, gboolean selected)
iface = GD_MAIN_BOX_CHILD_GET_IFACE (self);
- return (* iface->set_selected) (self, selected);
+ (* iface->set_selected) (self, selected);
}
/**