[gtk+] x11: Remove duplicate variable setting



commit 5db1c987eeef673fc8720ab9f817ef87cd79f538
Author: Benjamin Otte <otte redhat com>
Date:   Sun Mar 20 05:30:03 2016 +0100

    x11: Remove duplicate variable setting
    
    http://www.viva64.com/en/b/0383/

 gdk/x11/gdkwindow-x11.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index beb08a5..9ed087a 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -4510,7 +4510,7 @@ gdk_x11_window_get_decorations(GdkWindow       *window,
 
 static void
 gdk_x11_window_set_functions (GdkWindow    *window,
-                         GdkWMFunction functions)
+                              GdkWMFunction functions)
 {
   MotifWmHints hints;
   
@@ -5764,7 +5764,6 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass)
   impl_class->set_decorations = gdk_x11_window_set_decorations;
   impl_class->get_decorations = gdk_x11_window_get_decorations;
   impl_class->set_functions = gdk_x11_window_set_functions;
-  impl_class->set_functions = gdk_x11_window_set_functions;
   impl_class->begin_resize_drag = gdk_x11_window_begin_resize_drag;
   impl_class->begin_move_drag = gdk_x11_window_begin_move_drag;
   impl_class->set_opacity = gdk_x11_window_set_opacity;


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