diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2004-02-01 15:36:22 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-02-01 15:36:22 +0000 |
commit | a4bb27616f5315acc0101b3ab6d96b510e10b66c (patch) | |
tree | 890cfb8e92492664a47923638d620076f2d5aeca /gtk/gtktoolbar.c | |
parent | 623370a8e7cbb6b73939ce70430019cf2f76aae8 (diff) | |
download | gtk+-a4bb27616f5315acc0101b3ab6d96b510e10b66c.tar.gz |
Only start sliding when using the new API.
Sun Feb 1 16:34:07 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start
sliding when using the new API.
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index 94524f7519..224cb361de 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -1513,7 +1513,7 @@ gtk_toolbar_size_allocate (GtkWidget *widget, new_states[i] != NORMAL) { /* an item disappeared, begin sliding */ - if (!size_changed) + if (!size_changed && priv->api_mode == NEW_API) gtk_toolbar_begin_sliding (toolbar); } } |