[gtk/wip/baedert/for-master] entry: Remove unused function



commit 14675f73d0398175df81fc3ee7b4c2f1728d2931
Author: Timm Bäder <mail baedert org>
Date:   Sun Oct 20 08:51:12 2019 +0200

    entry: Remove unused function

 gtk/gtkentry.c        | 9 ---------
 gtk/gtkentryprivate.h | 3 ---
 2 files changed, 12 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index b9e33f4aed..ff6074a7df 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -3474,15 +3474,6 @@ gtk_entry_get_tabs (GtkEntry *entry)
   return gtk_text_get_tabs (GTK_TEXT (priv->text));
 }
 
-void
-gtk_entry_enter_text (GtkEntry *entry,
-                      const char *text)
-{
-  GtkEntryPrivate *priv = gtk_entry_get_instance_private (entry);
-
-  gtk_text_enter_text (GTK_TEXT (priv->text), text);
-}
-
 static void
 pick_emoji (GtkEntry *entry,
             int       icon,
diff --git a/gtk/gtkentryprivate.h b/gtk/gtkentryprivate.h
index 14696eb5ca..2f7d8dc695 100644
--- a/gtk/gtkentryprivate.h
+++ b/gtk/gtkentryprivate.h
@@ -114,9 +114,6 @@ void     _gtk_entry_completion_connect      (GtkEntryCompletion *completion,
 void     _gtk_entry_completion_disconnect   (GtkEntryCompletion *completion);
 
 GtkIMContext* _gtk_entry_get_im_context    (GtkEntry  *entry);
-void     gtk_entry_enter_text              (GtkEntry   *entry,
-                                            const char *text);
-
 GtkEventController * gtk_entry_get_key_controller (GtkEntry *entry);
 GtkText *gtk_entry_get_text_widget (GtkEntry *entry);
 


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