[gtk+/gtk-2-22] Fix the build
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] Fix the build
- Date: Sun, 30 May 2010 06:58:31 +0000 (UTC)
commit 4451536712b3ac1d10f7e0f5b00c190cd1a818b2
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 30 02:56:16 2010 -0400
Fix the build
One hunk got lost when cherry-picking the icon view keynav changes.
gtk/gtkiconview.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 1984122..6dac1e3 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -4080,10 +4080,13 @@ gtk_icon_view_move_cursor_up_down (GtkIconView *icon_view,
gint cell;
gboolean dirty = FALSE;
gint step;
+ GtkTextDirection direction;
if (!gtk_widget_has_focus (GTK_WIDGET (icon_view)))
return;
-
+
+ direction = count < 0 ? GTK_DIR_UP : GTK_DIR_DOWN;
+
if (!icon_view->priv->cursor_item)
{
GList *list;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]