summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYosef Or Boczko <yoseforb@src.gnome.org>2014-05-21 17:45:38 +0300
committerYosef Or Boczko <yoseforb@src.gnome.org>2014-05-21 17:45:38 +0300
commitc543a14c5b1010d099bdb70b8c8ab90e0ab3515c (patch)
treea2a7b01516bc71e85dcc12c521abbf45ab3a972b
parent6b26410d389b50c7f4291b0ef8c1f52ea35c0822 (diff)
downloadgtk+-c543a14c5b1010d099bdb70b8c8ab90e0ab3515c.tar.gz
Use the new support for RTL icons in GtkIconTheme
https://bugzilla.gnome.org/show_bug.cgi?id=730526
-rw-r--r--gtk/gtksearchentry.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index a43f7c7ee8..745dffdfe5 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -196,10 +196,7 @@ gtk_search_entry_changed (GtkEditable *editable)
}
else
{
- if (gtk_widget_get_direction (GTK_WIDGET (entry)) == GTK_TEXT_DIR_RTL)
- icon_name = "edit-clear-rtl-symbolic";
- else
- icon_name = "edit-clear-symbolic";
+ icon_name = "edit-clear-symbolic";
cleared = FALSE;
}