summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-10-22 17:01:37 +0200
committerTimm Bäder <mail@baedert.org>2016-10-22 19:08:29 +0200
commit66430e683cf0cf59ca05eb4a0f4392104f4cb6e6 (patch)
treead2157d2580031f7f5cdcce1a3827b1ca5e54114 /gtk
parent9992a616efa47205ac16ed8be255eda5e7aadf6c (diff)
downloadgtk+-66430e683cf0cf59ca05eb4a0f4392104f4cb6e6.tar.gz
toolpalette: Remove deprecated API
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtktoolpalette.c40
-rw-r--r--gtk/gtktoolpalette.h6
2 files changed, 0 insertions, 46 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index 8a1af549e3..eae2321842 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -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)
diff --git a/gtk/gtktoolpalette.h b/gtk/gtktoolpalette.h
index 8595dba3c0..22f974be1b 100644
--- a/gtk/gtktoolpalette.h
+++ b/gtk/gtktoolpalette.h
@@ -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