summaryrefslogtreecommitdiff
path: root/gdk/gdktoplevel.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-10 00:39:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-10 00:39:03 -0400
commit93078e52c0a8167262877f73b2d4fe0ccd22b2bd (patch)
tree5346321c14df8fb3d24911a43875f011c6f86675 /gdk/gdktoplevel.c
parentcee275980a1d911ee0e4e8ca824a04f116775167 (diff)
downloadgtk+-93078e52c0a8167262877f73b2d4fe0ccd22b2bd.tar.gz
gdk: Rename GdkSurfaceState to GdkToplevelState
That is what it is. Fixes: #2790
Diffstat (limited to 'gdk/gdktoplevel.c')
-rw-r--r--gdk/gdktoplevel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdktoplevel.c b/gdk/gdktoplevel.c
index 5721d02418..38a527c1ba 100644
--- a/gdk/gdktoplevel.c
+++ b/gdk/gdktoplevel.c
@@ -118,7 +118,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
g_param_spec_flags ("state",
P_("State"),
P_("State"),
- GDK_TYPE_SURFACE_STATE, GDK_SURFACE_STATE_WITHDRAWN,
+ GDK_TYPE_TOPLEVEL_STATE, GDK_TOPLEVEL_STATE_WITHDRAWN,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_interface_install_property (iface,
g_param_spec_string ("title",
@@ -307,14 +307,14 @@ gdk_toplevel_focus (GdkToplevel *toplevel,
* @toplevel: a #GdkToplevel
*
* Gets the bitwise OR of the currently active surface state flags,
- * from the #GdkSurfaceState enumeration.
+ * from the #GdkToplevelState enumeration.
*
* Returns: surface state bitfield
*/
-GdkSurfaceState
+GdkToplevelState
gdk_toplevel_get_state (GdkToplevel *toplevel)
{
- GdkSurfaceState state;
+ GdkToplevelState state;
g_return_val_if_fail (GDK_IS_TOPLEVEL (toplevel), 0);