textview: Remove deprecated GtkScrollable API

This commit is contained in:
Timm Bäder 2016-10-22 16:56:49 +02:00
parent 145387add5
commit 6525b95e25
3 changed files with 0 additions and 47 deletions

View File

@ -3327,8 +3327,6 @@ gtk_text_view_new
gtk_text_view_new_with_buffer
gtk_text_view_set_buffer
gtk_text_view_get_buffer
gtk_text_view_get_hadjustment
gtk_text_view_get_vadjustment
gtk_text_view_scroll_to_mark
gtk_text_view_scroll_to_iter
gtk_text_view_scroll_mark_onscreen

View File

@ -8610,26 +8610,6 @@ gtk_text_view_drag_data_received (GtkWidget *widget,
}
}
/**
* gtk_text_view_get_hadjustment:
* @text_view: a #GtkTextView
*
* Gets the horizontal-scrolling #GtkAdjustment.
*
* Returns: (transfer none): pointer to the horizontal #GtkAdjustment
*
* Since: 2.22
*
* Deprecated: 3.0: Use gtk_scrollable_get_hadjustment()
**/
GtkAdjustment*
gtk_text_view_get_hadjustment (GtkTextView *text_view)
{
g_return_val_if_fail (GTK_IS_TEXT_VIEW (text_view), NULL);
return text_view->priv->hadjustment;
}
static void
gtk_text_view_set_hadjustment (GtkTextView *text_view,
GtkAdjustment *adjustment)
@ -8658,26 +8638,6 @@ gtk_text_view_set_hadjustment (GtkTextView *text_view,
g_object_notify (G_OBJECT (text_view), "hadjustment");
}
/**
* gtk_text_view_get_vadjustment:
* @text_view: a #GtkTextView
*
* Gets the vertical-scrolling #GtkAdjustment.
*
* Returns: (transfer none): pointer to the vertical #GtkAdjustment
*
* Since: 2.22
*
* Deprecated: 3.0: Use gtk_scrollable_get_vadjustment()
**/
GtkAdjustment*
gtk_text_view_get_vadjustment (GtkTextView *text_view)
{
g_return_val_if_fail (GTK_IS_TEXT_VIEW (text_view), NULL);
return text_view->priv->vadjustment;
}
static void
gtk_text_view_set_vadjustment (GtkTextView *text_view,
GtkAdjustment *adjustment)

View File

@ -296,11 +296,6 @@ void gtk_text_view_window_to_buffer_coords (GtkTextView *text_view,
gint *buffer_x,
gint *buffer_y);
GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
GtkAdjustment* gtk_text_view_get_hadjustment (GtkTextView *text_view);
GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
GtkAdjustment* gtk_text_view_get_vadjustment (GtkTextView *text_view);
GDK_AVAILABLE_IN_ALL
GdkWindow* gtk_text_view_get_window (GtkTextView *text_view,
GtkTextWindowType win);