[gtk+] Do not return things from a void function



commit 3e02f52031c5101c1cf308fd2fea5f1c39ad25f9
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 ac2a1b1..796c082 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -3725,7 +3725,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]