[gtk/wip/baedert/for-master] text: Remove gtk_text_get_im_context()



commit b1a8c40adf9aff81d9121b38364c719a04d75103
Author: Timm Bäder <mail baedert org>
Date:   Mon Feb 17 15:46:41 2020 +0100

    text: Remove gtk_text_get_im_context()
    
    Unused.

 gtk/gtktext.c        | 8 --------
 gtk/gtktextprivate.h | 1 -
 2 files changed, 9 deletions(-)
---
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index b671c9a39f..af2060086b 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -4683,14 +4683,6 @@ gtk_text_reset_im_context (GtkText *self)
     }
 }
 
-GtkIMContext *
-gtk_text_get_im_context (GtkText *self)
-{
-  GtkTextPrivate *priv = gtk_text_get_instance_private (self);
-
-  return priv->im_context;
-}
-
 static int
 gtk_text_find_position (GtkText *self,
                         int      x)
diff --git a/gtk/gtktextprivate.h b/gtk/gtktextprivate.h
index 500389824d..7108637efe 100644
--- a/gtk/gtktextprivate.h
+++ b/gtk/gtktextprivate.h
@@ -92,7 +92,6 @@ struct _GtkTextClass
 char *              gtk_text_get_display_text   (GtkText    *entry,
                                                  int         start_pos,
                                                  int         end_pos);
-GtkIMContext *      gtk_text_get_im_context     (GtkText    *entry);
 void                gtk_text_enter_text         (GtkText    *entry,
                                                  const char *text);
 void                gtk_text_set_positions      (GtkText    *entry,


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