diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-04 04:08:50 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-11-05 03:32:27 +0100 |
commit | 9707f4d3b3f205f7d5e525ccf660d1d6ccd1ee0b (patch) | |
tree | eb6b805b4d4d41aeb7436da9ceb47dbfbcd872df /gdk/gdkwindow.h | |
parent | b9955cfff1a2290c7826565049c934d237e9028f (diff) | |
download | gtk+-9707f4d3b3f205f7d5e525ccf660d1d6ccd1ee0b.tar.gz |
API: gdk: Remove title from gdk_window_new()
Use gdk_window_set_title() afterwards instead.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r-- | gdk/gdkwindow.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 3144aa1305..8a62ba676c 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -85,24 +85,22 @@ typedef enum /** * GdkWindowAttributesType: - * @GDK_WA_TITLE: Honor the title field * @GDK_WA_X: Honor the X coordinate field * @GDK_WA_Y: Honor the Y coordinate field * @GDK_WA_TYPE_HINT: Honor the type_hint field * * Used to indicate which fields in the #GdkWindowAttr struct should be honored. - * For example, if you filled in the “title” and “x” fields of #GdkWindowAttr, - * pass “@GDK_WA_X | @GDK_WA_TITLE” to gdk_window_new(). Fields in + * For example, if you filled in the “x” and “y” fields of #GdkWindowAttr, + * pass “@GDK_WA_X | @GDK_WA_Y” to gdk_window_new(). Fields in * #GdkWindowAttr not covered by a bit in this enum are required; for example, * the @width/@height, @wclass, and @window_type fields are required, they have * no corresponding flag in #GdkWindowAttributesType. */ typedef enum { - GDK_WA_TITLE = 1 << 1, - GDK_WA_X = 1 << 2, - GDK_WA_Y = 1 << 3, - GDK_WA_TYPE_HINT = 1 << 4 + GDK_WA_X = 1 << 1, + GDK_WA_Y = 1 << 2, + GDK_WA_TYPE_HINT = 1 << 3 } GdkWindowAttributesType; /* Size restriction enumeration. @@ -321,7 +319,6 @@ typedef enum /** * GdkWindowAttr: - * @title: title of the window (for toplevel windows) * @event_mask: event mask (see gdk_window_set_events()) * @x: X coordinate relative to parent window (see gdk_window_move()) * @y: Y coordinate relative to parent window (see gdk_window_move()) @@ -337,7 +334,6 @@ typedef enum */ struct _GdkWindowAttr { - gchar *title; gint event_mask; gint x, y; gint width; |