forked from AuroraMiddleware/gtk
textview: Remove deprecated GtkScrollable API
This commit is contained in:
parent
145387add5
commit
6525b95e25
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user