summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-11-19 03:46:04 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-11-19 03:46:04 +0000
commit6e4a379e93d6c0c37b4f326063c766a324f970e6 (patch)
treea3bc793cff3f6284816de9bb55b234d5f2226346 /gtk/gtkpathbar.h
parent478043a1ed8f6ba8e14d0a704afb0e69d4599e15 (diff)
downloadgtk+-6e4a379e93d6c0c37b4f326063c766a324f970e6.tar.gz
Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula)
2005-11-18 Matthias Clasen <mclasen@redhat.com> Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula) * gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons): Stop scrolling when desensitising slider buttons. (gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press): And use it here. * gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate scrolling_down flag.
Diffstat (limited to 'gtk/gtkpathbar.h')
-rw-r--r--gtk/gtkpathbar.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h
index 2dca06b6f4..e395ccc0b0 100644
--- a/gtk/gtkpathbar.h
+++ b/gtk/gtkpathbar.h
@@ -61,9 +61,10 @@ struct _GtkPathBar
gint16 button_offset;
guint timer;
guint slider_visible : 1;
- guint need_timer : 1;
- guint ignore_click : 1;
- guint scrolling_up : 1;
+ guint need_timer : 1;
+ guint ignore_click : 1;
+ guint scrolling_up : 1;
+ guint scrolling_down : 1;
};
struct _GtkPathBarClass