gdk: Drop gdk_surface_begin_move/resize_drag

These have been replaced by GdkToplevel api.
This commit is contained in:
Matthias Clasen 2020-05-17 12:14:18 -04:00
parent f316fe0f58
commit eb6edac4bd
3 changed files with 15 additions and 19 deletions

View File

@ -187,8 +187,6 @@ gdk_surface_hide
gdk_surface_is_viewable
gdk_surface_get_mapped
gdk_surface_translate_coordinates
gdk_surface_begin_resize_drag
gdk_surface_begin_move_drag
gdk_surface_beep
gdk_surface_get_scale_factor
gdk_surface_set_opaque_region

View File

@ -366,6 +366,21 @@ GdkSurface * gdk_surface_new_temp (GdkDisplay *display,
GdkKeymap * gdk_display_get_keymap (GdkDisplay *display);
void gdk_surface_begin_resize_drag (GdkSurface *surface,
GdkSurfaceEdge edge,
GdkDevice *device,
gint button,
gint x,
gint y,
guint32 timestamp);
void gdk_surface_begin_move_drag (GdkSurface *surface,
GdkDevice *device,
gint button,
gint x,
gint y,
guint32 timestamp);
G_END_DECLS
#endif /* __GDK_INTERNALS_H__ */

View File

@ -208,23 +208,6 @@ cairo_surface_t *
GDK_AVAILABLE_IN_ALL
void gdk_surface_beep (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
void gdk_surface_begin_resize_drag (GdkSurface *surface,
GdkSurfaceEdge edge,
GdkDevice *device,
gint button,
gint x,
gint y,
guint32 timestamp);
GDK_AVAILABLE_IN_ALL
void gdk_surface_begin_move_drag (GdkSurface *surface,
GdkDevice *device,
gint button,
gint x,
gint y,
guint32 timestamp);
GDK_AVAILABLE_IN_ALL
void gdk_surface_queue_expose (GdkSurface *surface);