Updating branch refs/heads/stephan/gtk3 to 704a11385c699756363436b74cd34ed04937c704 (commit) from be3743f7b244fbecb57c5e634192bf73791e5be0 (commit)
commit 704a11385c699756363436b74cd34ed04937c704 Author: Stephan Arts <step...@xfce.org> Date: Sat Feb 2 13:22:52 2013 +0100 Remove duplicate code src/main_window.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main_window.c b/src/main_window.c index 3d3879b..46b3d14 100644 --- a/src/main_window.c +++ b/src/main_window.c @@ -2406,12 +2406,13 @@ cb_rstto_main_window_image_viewer_scroll_event (GtkWidget *widget, case GDK_SCROLL_UP: case GDK_SCROLL_LEFT: rstto_image_list_iter_previous (window->priv->iter); - ret = TRUE; /* don't call other callbacks */ + break; case GDK_SCROLL_DOWN: case GDK_SCROLL_RIGHT: rstto_image_list_iter_next (window->priv->iter); - ret = TRUE; + break; } + ret = TRUE; /* don't call other callbacks */ } return ret; } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits