forked from AuroraMiddleware/gtk
Drop gdk_surface_move
And its cousin, gdk_surface_move_resize. These APIs are expecting global coordinates, which are going away. GTK is not using them anymore.
This commit is contained in:
parent
956e94a8d4
commit
8ed27d6e3b
@ -207,9 +207,7 @@ gdk_surface_set_fullscreen_mode
|
||||
gdk_surface_set_keep_above
|
||||
gdk_surface_set_keep_below
|
||||
gdk_surface_set_opacity
|
||||
gdk_surface_move
|
||||
gdk_surface_resize
|
||||
gdk_surface_move_resize
|
||||
gdk_surface_move_to_rect
|
||||
gdk_surface_raise
|
||||
gdk_surface_lower
|
||||
|
@ -266,6 +266,15 @@ void gdk_surface_get_geometry (GdkSurface *surface,
|
||||
gint *width,
|
||||
gint *height);
|
||||
|
||||
void gdk_surface_move (GdkSurface *surface,
|
||||
gint x,
|
||||
gint y);
|
||||
|
||||
void gdk_surface_move_resize (GdkSurface *surface,
|
||||
gint x,
|
||||
gint y,
|
||||
gint width,
|
||||
gint height);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -2053,7 +2053,7 @@ gdk_surface_move_resize_internal (GdkSurface *surface,
|
||||
|
||||
|
||||
|
||||
/**
|
||||
/*
|
||||
* gdk_surface_move:
|
||||
* @surface: a #GdkSurface
|
||||
* @x: X coordinate relative to surface’s parent
|
||||
@ -2087,10 +2087,7 @@ gdk_surface_move (GdkSurface *surface,
|
||||
* use gtk_window_resize() instead of this low-level GDK function.
|
||||
*
|
||||
* Surfaces may not be resized below 1x1.
|
||||
*
|
||||
* If you’re also planning to move the surface, use gdk_surface_move_resize()
|
||||
* to both move and resize simultaneously, for a nicer visual effect.
|
||||
**/
|
||||
*/
|
||||
void
|
||||
gdk_surface_resize (GdkSurface *surface,
|
||||
gint width,
|
||||
@ -2100,7 +2097,7 @@ gdk_surface_resize (GdkSurface *surface,
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
/*
|
||||
* gdk_surface_move_resize:
|
||||
* @surface: a #GdkSurface
|
||||
* @x: new X position relative to surface’s parent
|
||||
|
@ -445,22 +445,11 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gdk_surface_hide (GdkSurface *surface);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_surface_show_unraised (GdkSurface *surface);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_surface_move (GdkSurface *surface,
|
||||
gint x,
|
||||
gint y);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_surface_resize (GdkSurface *surface,
|
||||
gint width,
|
||||
gint height);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_surface_move_resize (GdkSurface *surface,
|
||||
gint x,
|
||||
gint y,
|
||||
gint width,
|
||||
gint height);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_surface_move_to_rect (GdkSurface *surface,
|
||||
const GdkRectangle *rect,
|
||||
GdkGravity rect_anchor,
|
||||
|
Loading…
Reference in New Issue
Block a user