Commit 7d1a0b07 authored by Matthias Clasen's avatar Matthias Clasen

Trivial code restructuring

parent bf7a7a5f
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment