diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-10 00:39:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-10 00:39:03 -0400 |
commit | 93078e52c0a8167262877f73b2d4fe0ccd22b2bd (patch) | |
tree | 5346321c14df8fb3d24911a43875f011c6f86675 /gdk/gdktoplevel.c | |
parent | cee275980a1d911ee0e4e8ca824a04f116775167 (diff) | |
download | gtk+-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.c | 8 |
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); |