From 552998868dd7957fc9e4faf15fc5680c21d1b327 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Wed, 30 Aug 2017 21:14:56 +0100 Subject: [PATCH] Entry: Rename int helper to gtk_entry_clear_icon() It was called gtk_entry_clear(), which was unnecessarily vague. --- gtk/gtkentry.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index a1154a98d4..4f75ff7f70 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -6566,8 +6566,8 @@ gtk_entry_update_primary_selection (GtkEntry *entry) } static void -gtk_entry_clear (GtkEntry *entry, - GtkEntryIconPosition icon_pos) +gtk_entry_clear_icon (GtkEntry *entry, + GtkEntryIconPosition icon_pos) { GtkEntryPrivate *priv = entry->priv; EntryIconInfo *icon_info = priv->icons[icon_pos]; @@ -7522,7 +7522,7 @@ gtk_entry_set_icon_from_pixbuf (GtkEntry *entry, g_object_unref (pixbuf); } else - gtk_entry_clear (entry, icon_pos); + gtk_entry_clear_icon (entry, icon_pos); if (gtk_widget_get_visible (GTK_WIDGET (entry))) gtk_widget_queue_resize (GTK_WIDGET (entry)); @@ -7581,7 +7581,7 @@ gtk_entry_set_icon_from_icon_name (GtkEntry *entry, } } else - gtk_entry_clear (entry, icon_pos); + gtk_entry_clear_icon (entry, icon_pos); if (gtk_widget_get_visible (GTK_WIDGET (entry))) gtk_widget_queue_resize (GTK_WIDGET (entry)); @@ -7638,7 +7638,7 @@ gtk_entry_set_icon_from_gicon (GtkEntry *entry, } } else - gtk_entry_clear (entry, icon_pos); + gtk_entry_clear_icon (entry, icon_pos); if (gtk_widget_get_visible (GTK_WIDGET (entry))) gtk_widget_queue_resize (GTK_WIDGET (entry));