mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
toolpalette: Remove deprecated API
This commit is contained in:
parent
9992a616ef
commit
66430e683c
@ -3756,8 +3756,6 @@ gtk_tool_palette_get_drop_group
|
||||
gtk_tool_palette_get_drop_item
|
||||
GtkToolPaletteDragTargets
|
||||
gtk_tool_palette_set_drag_source
|
||||
gtk_tool_palette_get_hadjustment
|
||||
gtk_tool_palette_get_vadjustment
|
||||
|
||||
<SUBSECTION Standard>
|
||||
GTK_TOOL_PALETTE
|
||||
|
@ -1813,26 +1813,6 @@ _gtk_tool_palette_set_expanding_child (GtkToolPalette *palette,
|
||||
palette->priv->expanding_child = widget;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_tool_palette_get_hadjustment:
|
||||
* @palette: a #GtkToolPalette
|
||||
*
|
||||
* Gets the horizontal adjustment of the tool palette.
|
||||
*
|
||||
* Returns: (transfer none): the horizontal adjustment of @palette
|
||||
*
|
||||
* Since: 2.20
|
||||
*
|
||||
* Deprecated: 3.0: Use gtk_scrollable_get_hadjustment()
|
||||
*/
|
||||
GtkAdjustment*
|
||||
gtk_tool_palette_get_hadjustment (GtkToolPalette *palette)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_TOOL_PALETTE (palette), NULL);
|
||||
|
||||
return palette->priv->hadjustment;
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_tool_palette_set_hadjustment (GtkToolPalette *palette,
|
||||
GtkAdjustment *adjustment)
|
||||
@ -1862,26 +1842,6 @@ gtk_tool_palette_set_hadjustment (GtkToolPalette *palette,
|
||||
g_object_notify (G_OBJECT (palette), "hadjustment");
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_tool_palette_get_vadjustment:
|
||||
* @palette: a #GtkToolPalette
|
||||
*
|
||||
* Gets the vertical adjustment of the tool palette.
|
||||
*
|
||||
* Returns: (transfer none): the vertical adjustment of @palette
|
||||
*
|
||||
* Since: 2.20
|
||||
*
|
||||
* Deprecated: 3.0: Use gtk_scrollable_get_vadjustment()
|
||||
*/
|
||||
GtkAdjustment*
|
||||
gtk_tool_palette_get_vadjustment (GtkToolPalette *palette)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_TOOL_PALETTE (palette), NULL);
|
||||
|
||||
return palette->priv->vadjustment;
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_tool_palette_set_vadjustment (GtkToolPalette *palette,
|
||||
GtkAdjustment *adjustment)
|
||||
|
@ -150,12 +150,6 @@ void gtk_tool_palette_add_drag_dest (GtkToolPa
|
||||
GtkToolPaletteDragTargets targets,
|
||||
GdkDragAction actions);
|
||||
|
||||
|
||||
GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
|
||||
GtkAdjustment* gtk_tool_palette_get_hadjustment (GtkToolPalette *palette);
|
||||
GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
|
||||
GtkAdjustment* gtk_tool_palette_get_vadjustment (GtkToolPalette *palette);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const GtkTargetEntry* gtk_tool_palette_get_drag_target_item (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
Loading…
Reference in New Issue
Block a user