summaryrefslogtreecommitdiff
path: root/gtk/gtkpaned.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-16 15:20:28 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-16 15:20:28 +0000
commit1431d7658e51bc1d4ec1b7aeb546cbca41005827 (patch)
treef73b8048507f8d2aad5c3bcce0a20d261af642a8 /gtk/gtkpaned.h
parente8eb7a4094fa94358ef5f0025800c04197bcd35e (diff)
downloadgtk+-1431d7658e51bc1d4ec1b7aeb546cbca41005827.tar.gz
Make Menu items NO_WINDOW widgets.
Fri Nov 16 00:16:40 2001 Owen Taylor <otaylor@redhat.com> * gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c, gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items NO_WINDOW widgets. * gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some cleanup. * gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume we are drawing in a window when drawing the paned handle.
Diffstat (limited to 'gtk/gtkpaned.h')
-rw-r--r--gtk/gtkpaned.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtkpaned.h b/gtk/gtkpaned.h
index 673c5b69d6..bc65c72143 100644
--- a/gtk/gtkpaned.h
+++ b/gtk/gtkpaned.h
@@ -58,8 +58,7 @@ struct _GtkPaned
GdkCursorType cursor_type;
/*< private >*/
- guint16 handle_width;
- guint16 handle_height;
+ GdkRectangle handle_pos;
gint child1_size;
gint last_allocation;
@@ -72,9 +71,7 @@ struct _GtkPaned
guint child1_resize : 1;
guint child2_shrink : 1;
guint child2_resize : 1;
-
- gint16 handle_xpos;
- gint16 handle_ypos;
+ guint orientation : 1;
};
struct _GtkPanedClass