[gtk: 1/2] gtk/window: remove GtkWindowGeometryInfo from public header file
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] gtk/window: remove GtkWindowGeometryInfo from public header file
- Date: Mon, 4 Jan 2021 13:55:09 +0000 (UTC)
commit 4fb70c5e4d0ef55f787a5c57c388a261629b59f5
Author: David Lechner <david lechnology com>
Date: Wed Dec 30 01:32:27 2020 -0600
gtk/window: remove GtkWindowGeometryInfo from public header file
GtkWindowGeometryInfo is only used by static methods in gtkwindow.c
so it doesn't need to be in the public header file.
docs/reference/gtk/gtk4-sections.txt | 1 -
gtk/gtkwindow.c | 2 ++
gtk/gtkwindow.h | 1 -
3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index ad134ee06f..d51b9d0e9f 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4668,7 +4668,6 @@ GTK_WINDOW_GET_CLASS
<SUBSECTION Private>
GtkWindowPrivate
gtk_window_get_type
-GtkWindowGeometryInfo
gtk_window_remove_embedded_xid
gtk_window_add_embedded_xid
GtkWindowKeysForeachFunc
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index dbd73bedfb..d704f497b1 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -158,6 +158,8 @@
* instead.
*/
+typedef struct _GtkWindowGeometryInfo GtkWindowGeometryInfo;
+
typedef struct
{
GtkWidget *child;
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 06701f8313..347eee2312 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -44,7 +44,6 @@ G_BEGIN_DECLS
#define GTK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW, GtkWindowClass))
typedef struct _GtkWindowClass GtkWindowClass;
-typedef struct _GtkWindowGeometryInfo GtkWindowGeometryInfo;
typedef struct _GtkWindowGroup GtkWindowGroup;
typedef struct _GtkWindowGroupClass GtkWindowGroupClass;
typedef struct _GtkWindowGroupPrivate GtkWindowGroupPrivate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]