From 71cec2ef5d4006506f4cb33f0445134bd2b68e64 Mon Sep 17 00:00:00 2001 From: Andreas Persson Date: Thu, 6 Aug 2020 16:14:10 +0200 Subject: [PATCH] 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. --- gdk/gdktoplevelsize.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gdk/gdktoplevelsize.h b/gdk/gdktoplevelsize.h index 731ea6379a..013a061ee9 100644 --- a/gdk/gdktoplevelsize.h +++ b/gdk/gdktoplevelsize.h @@ -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