[gtk+/gtk-3-22] Entry: Drop redundant typecasts



commit 6094caf984292cc66cc65444c756bb7261e558e7
Author: Daniel Boles <dboles src gnome org>
Date:   Mon Aug 28 20:34:49 2017 +0100

    Entry: Drop redundant typecasts
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786940

 gtk/gtkentry.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index d7975df..c3060e4 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -11078,15 +11078,15 @@ set_show_emoji_icon (GtkEntry *entry,
 
   if (priv->show_emoji_icon)
     {
-      gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
+      gtk_entry_set_icon_from_icon_name (entry,
                                          GTK_ENTRY_ICON_SECONDARY,
                                          "face-smile-symbolic");
 
-      gtk_entry_set_icon_sensitive (GTK_ENTRY (entry),
+      gtk_entry_set_icon_sensitive (entry,
                                     GTK_ENTRY_ICON_SECONDARY,
                                     TRUE);
 
-      gtk_entry_set_icon_activatable (GTK_ENTRY (entry),
+      gtk_entry_set_icon_activatable (entry,
                                       GTK_ENTRY_ICON_SECONDARY,
                                       TRUE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]