summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimagepaintable.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2021-04-16 11:36:18 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2021-04-16 11:39:24 +0800
commit153019a794cec44e66024dff55ccfebb66ee94fb (patch)
tree182f185fdee21037ed69dc02940d3464c349a5e2 /gtk/gtkcssimagepaintable.c
parent8df32e93bea21a67d41ded974f991e9c67e942b6 (diff)
downloadgtk+-latest.glib.msvc.tar.gz
GTK: Fix builds against latest stable GLib with MSVClatest.glib.msvc
GLib-2.68.x now considers warning C4098 ('void' function returning a value) as an error, so avoid doing that.
Diffstat (limited to 'gtk/gtkcssimagepaintable.c')
-rw-r--r--gtk/gtkcssimagepaintable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssimagepaintable.c b/gtk/gtkcssimagepaintable.c
index d4056ab263..d45955c5df 100644
--- a/gtk/gtkcssimagepaintable.c
+++ b/gtk/gtkcssimagepaintable.c
@@ -66,9 +66,9 @@ gtk_css_image_paintable_snapshot (GtkCssImage *image,
{
GtkCssImagePaintable *paintable = GTK_CSS_IMAGE_PAINTABLE (image);
- return gdk_paintable_snapshot (get_paintable (paintable),
- snapshot,
- width, height);
+ gdk_paintable_snapshot (get_paintable (paintable),
+ snapshot,
+ width, height);
}
static GtkCssImage *