[gtk+/gtk-2-24] Entry: Fix build failure
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Entry: Fix build failure
- Date: Sun, 19 Feb 2017 14:37:25 +0000 (UTC)
commit 4577a35e1e39568632a22fc5a169e51541e40ded
Author: Daniel Boles <dboles src gnome org>
Date: Sun Feb 19 14:30:48 2017 +0000
Entry: Fix build failure
I hadn’t paid enough attention when cherry-picking
commit f7da9dba1d9d38e8fc02a027abf10be98bb7451f from GTK+ 3/4.
Thanks to Javier Jardón for letting me know.
gtk/gtkentry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index da998fc..19bd608 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -4778,7 +4778,7 @@ gtk_entry_move_cursor (GtkEntry *entry,
break;
case GTK_MOVEMENT_WORDS:
- if (priv->resolved_dir == PANGO_DIRECTION_RTL)
+ if (entry->resolved_dir == PANGO_DIRECTION_RTL)
count *= -1;
/* Fall through */
@@ -4839,7 +4839,7 @@ gtk_entry_move_cursor (GtkEntry *entry,
break;
case GTK_MOVEMENT_WORDS:
- if (priv->resolved_dir == PANGO_DIRECTION_RTL)
+ if (entry->resolved_dir == PANGO_DIRECTION_RTL)
count *= -1;
while (count > 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]