diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-04 06:18:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-04 06:24:05 -0400 |
commit | 872fbfacd3315f4e28849b8852bc5678f63a791e (patch) | |
tree | e4a31499be74a2ab03f34b168aaaeb608274b43a /gtk/gtkwindow.h | |
parent | d467850af069cdbc7f0659399deed609c373b31b (diff) | |
download | gtk+-872fbfacd3315f4e28849b8852bc5678f63a791e.tar.gz |
Split GtkWindowGroup into its own file
gtkwindow.c is too big and too messy. This is a small step
towards making it better.
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 7e43c847be..f6fef87943 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -90,32 +90,6 @@ struct _GtkWindowClass void (*_gtk_reserved3) (void); }; -#define GTK_TYPE_WINDOW_GROUP (gtk_window_group_get_type ()) -#define GTK_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_WINDOW_GROUP, GtkWindowGroup)) -#define GTK_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass)) -#define GTK_IS_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_WINDOW_GROUP)) -#define GTK_IS_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW_GROUP)) -#define GTK_WINDOW_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass)) - -struct _GtkWindowGroup -{ - GObject parent_instance; - - GtkWindowGroupPrivate *priv; -}; - -struct _GtkWindowGroupClass -{ - GObjectClass parent_class; - - /* Padding for future expansion */ - void (*_gtk_reserved1) (void); - void (*_gtk_reserved2) (void); - void (*_gtk_reserved3) (void); - void (*_gtk_reserved4) (void); -}; - - /** * GtkWindowType: * @GTK_WINDOW_TOPLEVEL: A regular window, such as a dialog. @@ -483,27 +457,6 @@ void gtk_window_reshow_with_initial_size (GtkWindow *window); GDK_AVAILABLE_IN_ALL GtkWindowType gtk_window_get_window_type (GtkWindow *window); -/* Window groups - */ -GDK_AVAILABLE_IN_ALL -GType gtk_window_group_get_type (void) G_GNUC_CONST; - -GDK_AVAILABLE_IN_ALL -GtkWindowGroup * gtk_window_group_new (void); -GDK_AVAILABLE_IN_ALL -void gtk_window_group_add_window (GtkWindowGroup *window_group, - GtkWindow *window); -GDK_AVAILABLE_IN_ALL -void gtk_window_group_remove_window (GtkWindowGroup *window_group, - GtkWindow *window); -GDK_AVAILABLE_IN_ALL -GList * gtk_window_group_list_windows (GtkWindowGroup *window_group); - -GDK_AVAILABLE_IN_ALL -GtkWidget * gtk_window_group_get_current_grab (GtkWindowGroup *window_group); -GDK_AVAILABLE_IN_ALL -GtkWidget * gtk_window_group_get_current_device_grab (GtkWindowGroup *window_group, - GdkDevice *device); GDK_AVAILABLE_IN_ALL GtkApplication *gtk_window_get_application (GtkWindow *window); |