From 00d87c256345123f15a4ed1d394d1bdb74e64550 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 11 Nov 2009 20:06:52 +0100 Subject: [gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type There already is the "type" property, but an accessor function for it would be intuitive: gtk_window_get_window_type() Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595498 --- gtk/gtkwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk/gtkwindow.h') diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 69189714fd..dc59dfe08a 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -385,6 +385,8 @@ GtkWindowGroup *gtk_window_get_group (GtkWindow *window); /* Ignore this unless you are writing a GUI builder */ void gtk_window_reshow_with_initial_size (GtkWindow *window); +GtkWindowType gtk_window_get_window_type (GtkWindow *window); + /* Window groups */ GType gtk_window_group_get_type (void) G_GNUC_CONST; -- cgit v1.2.1