gdk/toplevel: fix declarations of GdkToplevelSize

GDK_AVAILABLE_IN_ALL was missing from gdk_toplevel_size_get_bounds and
gdk_toplevel_size_set_max_size was declared though it doesn't exist.
This commit is contained in:
Andreas Persson 2020-08-06 16:14:10 +02:00
parent 83e9b5b408
commit 71cec2ef5d

View File

@ -29,7 +29,7 @@
G_BEGIN_DECLS
/**
* GdkTopLevelSize:
* GdkToplevelSize:
*
* Struct containing information for computing the size of a #GdkToplevel.
*/
@ -40,6 +40,7 @@ typedef struct _GdkToplevelSize GdkToplevelSize;
GDK_AVAILABLE_IN_ALL
GType gdk_toplevel_size_get_type (void);
GDK_AVAILABLE_IN_ALL
void gdk_toplevel_size_get_bounds (GdkToplevelSize *size,
int *bounds_width,
int *bounds_height);
@ -52,10 +53,6 @@ GDK_AVAILABLE_IN_ALL
void gdk_toplevel_size_set_min_size (GdkToplevelSize *size,
int min_width,
int min_height);
GDK_AVAILABLE_IN_ALL
void gdk_toplevel_size_set_max_size (GdkToplevelSize *size,
int max_width,
int max_height);
G_END_DECLS