summaryrefslogtreecommitdiff
path: root/gtk/gtktoolpalette.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-09 22:02:42 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-11-09 22:02:42 -0500
commita78ab0cfa1d5e5e15d505bce0761a00708400ce3 (patch)
tree98b9f748a756937f961c482b3e2380bc481c165f /gtk/gtktoolpalette.h
parentb3e13bd0a831c76b40ea470043e4d0da11229c0f (diff)
downloadgtk+-a78ab0cfa1d5e5e15d505bce0761a00708400ce3.tar.gz
Drop use of GDK_DISABLE_DEPRECATED guards in gtk
We now use function attributes for deprecation so the build-breaking guards are no longer needed.
Diffstat (limited to 'gtk/gtktoolpalette.h')
-rw-r--r--gtk/gtktoolpalette.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtktoolpalette.h b/gtk/gtktoolpalette.h
index a8e3ddeda9..daff957a64 100644
--- a/gtk/gtktoolpalette.h
+++ b/gtk/gtktoolpalette.h
@@ -126,13 +126,12 @@ void gtk_tool_palette_add_drag_dest (GtkToolPa
GtkToolPaletteDragTargets targets,
GdkDragAction actions);
-#ifndef GTK_DISABLE_DEPRECATED
+GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
GtkAdjustment* gtk_tool_palette_get_hadjustment (GtkToolPalette *palette);
+GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
GtkAdjustment* gtk_tool_palette_get_vadjustment (GtkToolPalette *palette);
-#endif
-
const GtkTargetEntry* gtk_tool_palette_get_drag_target_item (void) G_GNUC_CONST;
const GtkTargetEntry* gtk_tool_palette_get_drag_target_group (void) G_GNUC_CONST;