mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
Trivial code restructuring
This commit is contained in:
parent
bf7a7a5f3d
commit
7d1a0b075d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user