[gtk+] Trivial code restructuring



commit 7d1a0b075d2d466c5917f3c95476c4077955e68b
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 7 21:57:45 2015 -0500

    Trivial code restructuring

 gdk/x11/gdkdnd-x11.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index 220fb0e..d0c8757 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -187,16 +187,11 @@ static void        gdk_x11_drag_context_drop_finish (GdkDragContext  *context,
                                                      guint32          time_);
 static gboolean    gdk_x11_drag_context_drop_status (GdkDragContext  *context);
 static GdkAtom     gdk_x11_drag_context_get_selection (GdkDragContext  *context);
+static GdkWindow * gdk_x11_drag_context_get_drag_window (GdkDragContext *context);
 static void        gdk_x11_drag_context_set_hotspot (GdkDragContext  *context,
                                                      gint             hot_x,
                                                      gint             hot_y);
 
-static GdkWindow *
-gdk_x11_drag_context_get_drag_window (GdkDragContext *context)
-{
-  return GDK_X11_DRAG_CONTEXT (context)->drag_window;
-}
-
 static void
 gdk_x11_drag_context_class_init (GdkX11DragContextClass *klass)
 {
@@ -2468,6 +2463,12 @@ gdk_x11_drag_context_drop_status (GdkDragContext *context)
   return ! GDK_X11_DRAG_CONTEXT (context)->drop_failed;
 }
 
+static GdkWindow *
+gdk_x11_drag_context_get_drag_window (GdkDragContext *context)
+{
+  return GDK_X11_DRAG_CONTEXT (context)->drag_window;
+}
+
 static void
 gdk_x11_drag_context_set_hotspot (GdkDragContext *context,
                                   gint            hot_x,


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