Commit ac7d55c9 authored by Alexander Larsson's avatar Alexander Larsson Committed by Matthias Clasen

Convert all gdk_window methods to vtable calls

parent 49273f22
This diff is collapsed.
......@@ -160,6 +160,84 @@ struct _GdkWindowImplClass
/* optional */
gboolean (* beep) (GdkWindow *window);
void (* focus) (GdkWindow *window,
guint32 timestamp);
void (* set_type_hint) (GdkWindow *window,
GdkWindowTypeHint hint);
GdkWindowTypeHint (* get_type_hint) (GdkWindow *window);
void (* set_modal_hint) (GdkWindow *window,
gboolean modal);
void (* set_skip_taskbar_hint) (GdkWindow *window,
gboolean skips_taskbar);
void (* set_skip_pager_hint) (GdkWindow *window,
gboolean skips_pager);
void (* set_urgency_hint) (GdkWindow *window,
gboolean urgent);
void (* set_geometry_hints) (GdkWindow *window,
const GdkGeometry *geometry,
GdkWindowHints geom_mask);
void (* set_title) (GdkWindow *window,
const gchar *title);
void (* set_role) (GdkWindow *window,
const gchar *role);
void (* set_startup_id) (GdkWindow *window,
const gchar *startup_id);
void (* set_transient_for) (GdkWindow *window,
GdkWindow *parent);
void (* get_root_origin) (GdkWindow *window,
gint *x,
gint *y);
void (* get_frame_extents) (GdkWindow *window,
GdkRectangle *rect);
void (* set_override_redirect) (GdkWindow *window,
gboolean override_redirect);
void (* set_accept_focus) (GdkWindow *window,
gboolean accept_focus);
void (* set_focus_on_map) (GdkWindow *window,
gboolean focus_on_map);
void (* set_icon_list) (GdkWindow *window,
GList *pixbufs);
void (* set_icon_name) (GdkWindow *window,
const gchar *name);
void (* iconify) (GdkWindow *window);
void (* deiconify) (GdkWindow *window);
void (* stick) (GdkWindow *window);
void (* unstick) (GdkWindow *window);
void (* maximize) (GdkWindow *window);
void (* unmaximize) (GdkWindow *window);
void (* fullscreen) (GdkWindow *window);
void (* unfullscreen) (GdkWindow *window);
void (* set_keep_above) (GdkWindow *window,
gboolean setting);
void (* set_keep_below) (GdkWindow *window,
gboolean setting);
GdkWindow * (* get_group) (GdkWindow *window);
void (* set_group) (GdkWindow *window,
GdkWindow *leader);
void (* set_decorations) (GdkWindow *window,
GdkWMDecoration decorations);
gboolean (* get_decorations) (GdkWindow *window,
GdkWMDecoration *decorations);
void (* set_functions) (GdkWindow *window,
GdkWMFunction functions);
void (* begin_resize_drag) (GdkWindow *window,
GdkWindowEdge edge,
gint button,
gint root_x,
gint root_y,
guint32 timestamp);
void (* begin_move_drag) (GdkWindow *window,
gint button,
gint root_x,
gint root_y,
guint32 timestamp);
void (* enable_synchronized_configure) (GdkWindow *window);
void (* configure_finished) (GdkWindow *window);
void (* set_opacity) (GdkWindow *window,
gdouble opacity);
void (* destroy_notify) (GdkWindow *window);
void (* register_dnd) (GdkWindow *window);
};
/* Interface Functions */
......
......@@ -3930,15 +3930,8 @@ gdk_drop_finish (GdkDragContext *context,
}
}
/**
* gdk_window_register_dnd:
* @window: a #GdkWindow.
*
* Registers a window as a potential drop destination.
*/
void
gdk_window_register_dnd (GdkWindow *window)
void
_gdk_x11_window_register_dnd (GdkWindow *window)
{
static const gulong xdnd_version = 5;
MotifDragReceiverInfo info;
......
......@@ -133,6 +133,8 @@ void _gdk_dnd_init (GdkDisplay *display);
void _gdk_x11_cursor_update_theme (GdkCursor *cursor);
void _gdk_x11_cursor_display_finalize (GdkDisplay *display);
void _gdk_x11_window_register_dnd (GdkWindow *window);
gboolean _gdk_x11_get_xft_setting (GdkScreen *screen,
const gchar *name,
GValue *value);
......
This diff is collapsed.
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