diff options
author | Tim Janik <timj@src.gnome.org> | 2008-06-20 11:08:13 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2008-06-20 11:08:13 +0000 |
commit | f40470a3620094e38e131156a3f13ab8e676519a (patch) | |
tree | f8fd0627d048757414e45a4e87d86703510c9125 /gtk/gtksocket.h | |
parent | c9b24c88173d5cf0404ac4f76d5e9115e8cbbb36 (diff) | |
download | gtk+-f40470a3620094e38e131156a3f13ab8e676519a.tar.gz |
Seal GtkSocket
svn path=/trunk/; revision=20604
Diffstat (limited to 'gtk/gtksocket.h')
-rw-r--r-- | gtk/gtksocket.h | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/gtk/gtksocket.h b/gtk/gtksocket.h index 6e6e2aa66e..ecb7cd6083 100644 --- a/gtk/gtksocket.h +++ b/gtk/gtksocket.h @@ -49,24 +49,24 @@ struct _GtkSocket { GtkContainer container; - guint16 request_width; - guint16 request_height; - guint16 current_width; - guint16 current_height; - - GdkWindow *plug_window; - GtkWidget *plug_widget; - - gshort xembed_version; /* -1 == not xembed */ - guint same_app : 1; - guint focus_in : 1; - guint have_size : 1; - guint need_map : 1; - guint is_mapped : 1; - guint active : 1; - - GtkAccelGroup *accel_group; - GtkWidget *toplevel; + guint16 GSEAL (request_width); + guint16 GSEAL (request_height); + guint16 GSEAL (current_width); + guint16 GSEAL (current_height); + + GdkWindow *GSEAL (plug_window); + GtkWidget *GSEAL (plug_widget); + + gshort GSEAL (xembed_version); /* -1 == not xembed */ + guint GSEAL (same_app : 1); + guint GSEAL (focus_in : 1); + guint GSEAL (have_size : 1); + guint GSEAL (need_map : 1); + guint GSEAL (is_mapped : 1); + guint GSEAL (active : 1); + + GtkAccelGroup *GSEAL (accel_group); + GtkWidget *GSEAL (toplevel); }; struct _GtkSocketClass @@ -90,6 +90,7 @@ GtkWidget* gtk_socket_new (void); void gtk_socket_add_id (GtkSocket *socket_, GdkNativeWindow window_id); GdkNativeWindow gtk_socket_get_id (GtkSocket *socket_); +GdkWindow* gtk_socket_get_plug_window (GtkSocket *socket_); #ifndef GTK_DISABLE_DEPRECATED void gtk_socket_steal (GtkSocket *socket_, |