texthandle: Remove relative_to API

It's unused now, GtkTextHandle uses widget coordinates.
This commit is contained in:
Carlos Garnacho
2013-12-23 19:15:30 +01:00
parent 844c6b8951
commit 4a8a2286e1
3 changed files with 12 additions and 49 deletions

View File

@ -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);
}