diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2004-03-09 01:21:45 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-03-09 01:21:45 +0000 |
commit | db6cc5f78840beeca5de10dacace36f519bc7ab1 (patch) | |
tree | 64b07f824151bfea442892273c69ba5eb55bdcd0 /gtk/gtktoolbar.h | |
parent | 6dcda29ed1cbd66ce18112a282b9a3d77a276f7a (diff) | |
download | gtk+-db6cc5f78840beeca5de10dacace36f519bc7ab1.tar.gz |
Add boolean destroying (gtk_menu_destroy): Set priv->destroying
Tue Mar 9 02:11:50 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenu.c Fix bug 136446.
(struct _GtkMenuPrivate): Add boolean destroying
(gtk_menu_destroy): Set priv->destroying
(gtk_menu_remove): don't update the table information when the
menu is being destroyed.
* gtk/gtkmenu.c (gtk_menu_set_monitor): Formatting fix
* gtk/gtktoolbar.[ch]: Some formatting fixes
Diffstat (limited to 'gtk/gtktoolbar.h')
-rw-r--r-- | gtk/gtktoolbar.h | 76 |
1 files changed, 39 insertions, 37 deletions
diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h index 693d2a7af4..1bf6ee9d6f 100644 --- a/gtk/gtktoolbar.h +++ b/gtk/gtktoolbar.h @@ -133,46 +133,48 @@ struct _GtkToolbarClass }; GType gtk_toolbar_get_type (void) G_GNUC_CONST; -GtkWidget* gtk_toolbar_new (void); -void gtk_toolbar_insert (GtkToolbar *toolbar, - GtkToolItem *item, - gint pos); -gint gtk_toolbar_get_item_index (GtkToolbar *toolbar, - GtkToolItem *item); -gint gtk_toolbar_get_n_items (GtkToolbar *toolbar); -GtkToolItem * gtk_toolbar_get_nth_item (GtkToolbar *toolbar, - gint n); -gboolean gtk_toolbar_get_show_arrow (GtkToolbar *toolbar); -void gtk_toolbar_set_show_arrow (GtkToolbar *toolbar, - gboolean show_arrow); -GtkOrientation gtk_toolbar_get_orientation (GtkToolbar *toolbar); -void gtk_toolbar_set_orientation (GtkToolbar *toolbar, - GtkOrientation orientation); -gboolean gtk_toolbar_get_tooltips (GtkToolbar *toolbar); -void gtk_toolbar_set_tooltips (GtkToolbar *toolbar, - gboolean enable); -GtkToolbarStyle gtk_toolbar_get_style (GtkToolbar *toolbar); -void gtk_toolbar_set_style (GtkToolbar *toolbar, - GtkToolbarStyle style); -void gtk_toolbar_unset_style (GtkToolbar *toolbar); -GtkIconSize gtk_toolbar_get_icon_size (GtkToolbar *toolbar); -GtkReliefStyle gtk_toolbar_get_relief_style (GtkToolbar *toolbar); -gint gtk_toolbar_get_drop_index (GtkToolbar *toolbar, - gint x, - gint y); -void gtk_toolbar_set_drop_highlight_item (GtkToolbar *toolbar, - GtkToolItem *tool_item, - gint index); - +GtkWidget* gtk_toolbar_new (void); +void gtk_toolbar_insert (GtkToolbar *toolbar, + GtkToolItem *item, + gint pos); +gint gtk_toolbar_get_item_index (GtkToolbar *toolbar, + GtkToolItem *item); +gint gtk_toolbar_get_n_items (GtkToolbar *toolbar); +GtkToolItem * gtk_toolbar_get_nth_item (GtkToolbar *toolbar, + gint n); +gboolean gtk_toolbar_get_show_arrow (GtkToolbar *toolbar); +void gtk_toolbar_set_show_arrow (GtkToolbar *toolbar, + gboolean show_arrow); +GtkOrientation gtk_toolbar_get_orientation (GtkToolbar *toolbar); +void gtk_toolbar_set_orientation (GtkToolbar *toolbar, + GtkOrientation orientation); +gboolean gtk_toolbar_get_tooltips (GtkToolbar *toolbar); +void gtk_toolbar_set_tooltips (GtkToolbar *toolbar, + gboolean enable); +GtkToolbarStyle gtk_toolbar_get_style (GtkToolbar *toolbar); +void gtk_toolbar_set_style (GtkToolbar *toolbar, + GtkToolbarStyle style); +void gtk_toolbar_unset_style (GtkToolbar *toolbar); +GtkIconSize gtk_toolbar_get_icon_size (GtkToolbar *toolbar); +GtkReliefStyle gtk_toolbar_get_relief_style (GtkToolbar *toolbar); +gint gtk_toolbar_get_drop_index (GtkToolbar *toolbar, + gint x, + gint y); +void gtk_toolbar_set_drop_highlight_item (GtkToolbar *toolbar, + GtkToolItem *tool_item, + gint index); /* internal functions */ -gchar * _gtk_toolbar_elide_underscores (const gchar *original); -void _gtk_toolbar_paint_space_line (GtkWidget *widget, - GtkToolbar *toolbar, - GdkRectangle *area, - GtkAllocation *allocation); -gint _gtk_toolbar_get_default_space_size (void); +gchar * _gtk_toolbar_elide_underscores (const gchar *original); +void _gtk_toolbar_paint_space_line (GtkWidget *widget, + GtkToolbar *toolbar, + GdkRectangle *area, + GtkAllocation *allocation); +gint _gtk_toolbar_get_default_space_size (void); + + +/* deprecated */ #ifndef GTK_DISABLE_DEPRECATED void gtk_toolbar_set_icon_size (GtkToolbar *toolbar, GtkIconSize icon_size); |