Merge branch 'wip/move-to-rect-public' into 'master'

gdk: Make gdk_surface_move_to_rect public

See merge request GNOME/gtk!179
This commit is contained in:
Matthias Clasen
2018-06-05 21:02:51 +00:00
3 changed files with 9 additions and 10 deletions

View File

@@ -20,14 +20,6 @@ void gdk_surface_thaw_toplevel_updates (GdkSurface *surface);
gboolean gdk_surface_supports_edge_constraints (GdkSurface *surface);
void gdk_surface_move_to_rect (GdkSurface *surface,
const GdkRectangle *rect,
GdkGravity rect_anchor,
GdkGravity surface_anchor,
GdkAnchorHints anchor_hints,
gint rect_anchor_dx,
gint rect_anchor_dy);
GObject * gdk_event_get_user_data (const GdkEvent *event);
guint32 gdk_display_get_last_seen_time (GdkDisplay *display);

View File

@@ -3055,8 +3055,6 @@ gdk_surface_move_resize (GdkSurface *surface,
*
* Connect to the #GdkSurface::moved-to-rect signal to find out how it was
* actually positioned.
*
* Stability: Private
*/
void
gdk_surface_move_to_rect (GdkSurface *surface,

View File

@@ -486,6 +486,15 @@ void gdk_surface_move_resize (GdkSurface *surface,
gint width,
gint height);
GDK_AVAILABLE_IN_ALL
void gdk_surface_move_to_rect (GdkSurface *surface,
const GdkRectangle *rect,
GdkGravity rect_anchor,
GdkGravity surface_anchor,
GdkAnchorHints anchor_hints,
gint rect_anchor_dx,
gint rect_anchor_dy);
GDK_AVAILABLE_IN_ALL
void gdk_surface_raise (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
void gdk_surface_lower (GdkSurface *surface);