Trivial code restructuring

This commit is contained in:
Matthias Clasen 2015-12-07 21:57:45 -05:00
parent bf7a7a5f3d
commit 7d1a0b075d

View File

@ -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,