summaryrefslogtreecommitdiff
path: root/gdk/gdksurface.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-11-16 19:50:57 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2019-11-16 20:07:37 +0000
commitb70e4f6de95b3424b3d9b57f893d1075b37cb7a8 (patch)
tree9ca91ee0debbf2fd126b7b81e27b347838213791 /gdk/gdksurface.h
parent1b7c6e5687f278ff76e49102a8dd3e21f030bd22 (diff)
downloadgtk+-b70e4f6de95b3424b3d9b57f893d1075b37cb7a8.tar.gz
Rename "iconify" to "minimize"
The "iconified" state is mostly an X11-ism; every other platform calls this state "minimized" because it may not involve turning a window into an icon at all.
Diffstat (limited to 'gdk/gdksurface.h')
-rw-r--r--gdk/gdksurface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 55660ed9a6..6b525e89dc 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -357,7 +357,7 @@ struct _GdkGeometry
/**
* GdkSurfaceState:
* @GDK_SURFACE_STATE_WITHDRAWN: the surface is not shown
- * @GDK_SURFACE_STATE_ICONIFIED: the surface is minimized
+ * @GDK_SURFACE_STATE_MINIMIZED: the surface is minimized
* @GDK_SURFACE_STATE_MAXIMIZED: the surface is maximized
* @GDK_SURFACE_STATE_STICKY: the surface is sticky
* @GDK_SURFACE_STATE_FULLSCREEN: the surface is maximized without decorations
@@ -384,7 +384,7 @@ struct _GdkGeometry
typedef enum
{
GDK_SURFACE_STATE_WITHDRAWN = 1 << 0,
- GDK_SURFACE_STATE_ICONIFIED = 1 << 1,
+ GDK_SURFACE_STATE_MINIMIZED = 1 << 1,
GDK_SURFACE_STATE_MAXIMIZED = 1 << 2,
GDK_SURFACE_STATE_STICKY = 1 << 3,
GDK_SURFACE_STATE_FULLSCREEN = 1 << 4,
@@ -582,9 +582,9 @@ cairo_surface_t *
GDK_AVAILABLE_IN_ALL
void gdk_surface_beep (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
-void gdk_surface_iconify (GdkSurface *surface);
+void gdk_surface_minimize (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
-void gdk_surface_deiconify (GdkSurface *surface);
+void gdk_surface_unminimize (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
void gdk_surface_stick (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL