From 55196a705f00564a44647bfc97981db0a783369a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tadej=20Borov=C5=A1ak?= Date: Mon, 18 Oct 2010 00:21:39 -0400 Subject: Add GtkScrollable interface The GtkScrollable interface provides "hadjustment" and "vadjustment" properties that are used by GtkScrolledWindow. It replaces the ::set_scroll_adjustment signal. The scrollable interface also has ::min-display-width/height properties that can be used to control the minimally visible part inside a scrolled window. --- gtk/gtktoolpalette.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk/gtktoolpalette.h') diff --git a/gtk/gtktoolpalette.h b/gtk/gtktoolpalette.h index 4a0e9f99f4..7870c55967 100644 --- a/gtk/gtktoolpalette.h +++ b/gtk/gtktoolpalette.h @@ -72,10 +72,6 @@ struct _GtkToolPaletteClass { GtkContainerClass parent_class; - void (*set_scroll_adjustments) (GtkWidget *widget, - GtkAdjustment *hadjustment, - GtkAdjustment *vadjustment); - /* Padding for future expansion */ void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); @@ -130,9 +126,13 @@ void gtk_tool_palette_add_drag_dest (GtkToolPa GtkToolPaletteDragTargets targets, GdkDragAction actions); +#ifndef GTK_DISABLE_DEPRECATED + GtkAdjustment* gtk_tool_palette_get_hadjustment (GtkToolPalette *palette); GtkAdjustment* gtk_tool_palette_get_vadjustment (GtkToolPalette *palette); +#endif + G_CONST_RETURN GtkTargetEntry* gtk_tool_palette_get_drag_target_item (void) G_GNUC_CONST; G_CONST_RETURN GtkTargetEntry* gtk_tool_palette_get_drag_target_group (void) G_GNUC_CONST; -- cgit v1.2.1