Fix parenthesis confusion.

2006-11-09  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
This commit is contained in:
Carlos Garnacho 2006-11-09 16:51:05 +00:00 committed by Carlos Garnacho
parent 6549346d08
commit 0bbc2a56af
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2006-11-09 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
2006-11-08 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll

View File

@ -122,9 +122,9 @@ on_slider_unmap (GtkWidget *widget,
GtkPathBar *path_bar)
{
if (path_bar->timer &&
(widget == path_bar->up_slider_button && path_bar->scrolling_up) ||
(widget == path_bar->down_slider_button && path_bar->scrolling_down))
gtk_path_bar_stop_scrolling (path_bar);
((widget == path_bar->up_slider_button && path_bar->scrolling_up) ||
(widget == path_bar->down_slider_button && path_bar->scrolling_down)))
gtk_path_bar_stop_scrolling (path_bar);
}
static GtkWidget *