summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2013-12-23 19:15:30 +0100
committerCarlos Garnacho <carlosg@gnome.org>2014-01-22 17:10:05 +0100
commit4a8a2286e192453e5ab674afc150a38c2064ab5b (patch)
treeea29c96f117ee3f15306c6aff158b0e61b6eb187 /gtk/gtktextview.c
parent844c6b8951feeb85bb8d3496401a34dc722edccb (diff)
downloadgtk+-4a8a2286e192453e5ab674afc150a38c2064ab5b.tar.gz
texthandle: Remove relative_to API
It's unused now, GtkTextHandle uses widget coordinates.
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r--gtk/gtktextview.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index fc090fd28a..1fa6945095 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -4251,8 +4251,6 @@ gtk_text_view_realize (GtkWidget *widget)
/* Ensure updating the spot location. */
gtk_text_view_update_im_spot_location (text_view);
-
- _gtk_text_handle_set_relative_to (priv->text_handle, priv->text_window->window);
}
static void
@@ -4293,8 +4291,6 @@ gtk_text_view_unrealize (GtkWidget *widget)
if (priv->bottom_window)
text_window_unrealize (priv->bottom_window);
- _gtk_text_handle_set_relative_to (priv->text_handle, NULL);
-
GTK_WIDGET_CLASS (gtk_text_view_parent_class)->unrealize (widget);
}