[gtk: 1/2] gdk/toplevel: fix declarations of GdkToplevelSize
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] gdk/toplevel: fix declarations of GdkToplevelSize
- Date: Thu, 6 Aug 2020 14:43:29 +0000 (UTC)
commit 71cec2ef5d4006506f4cb33f0445134bd2b68e64
Author: Andreas Persson <andreasp56 outlook com>
Date: Thu Aug 6 16:14:10 2020 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]