[gtk+/gtk-3-10] Do not return things from a void function



commit 0a6f0dfedda56387126470db79eb96cc35a99bf2
Author: Ting-Wei Lan <lantw44 gmail com>
Date:   Mon Feb 10 08:57:00 2014 +0000

    Do not return things from a void function
    
    Reported in https://bugzilla.gnome.org/show_bug.cgi?id=724008
    Author:    Ting-Wei Lan <lantw44 gmail com>

 gdk/x11/gdkwindow-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 41fe7cf..e998045 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -3722,7 +3722,7 @@ void
 gdk_x11_window_set_theme_variant (GdkWindow *window,
                                   char      *variant)
 {
-  return gdk_x11_window_set_utf8_property (window, "_GTK_THEME_VARIANT", variant);
+  gdk_x11_window_set_utf8_property (window, "_GTK_THEME_VARIANT", variant);
 }
 
 #define GDK_SELECTION_MAX_SIZE(display)                                 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]