X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktoolpalette.h;h=8b05547c839990bdbe69777216923ee6df861309;hb=c4183405fe5bebc21db8f9f089c7d70848570279;hp=a8e3ddeda96893329ba111a5ee796004a1c5ac63;hpb=bf0d8402f5382fadd32a9748d00a4bcd715ea07a;p=~andy%2Fgtk diff --git a/gtk/gtktoolpalette.h b/gtk/gtktoolpalette.h index a8e3ddeda..8b05547c8 100644 --- a/gtk/gtktoolpalette.h +++ b/gtk/gtktoolpalette.h @@ -12,20 +12,19 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * License along with this library. If not, see . * * Authors: * Mathias Hasselmann */ +#ifndef __GTK_TOOL_PALETTE_H__ +#define __GTK_TOOL_PALETTE_H__ + #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_TOOL_PALETTE_H__ -#define __GTK_TOOL_PALETTE_H__ - #include #include #include @@ -126,13 +125,12 @@ void gtk_tool_palette_add_drag_dest (GtkToolPa GtkToolPaletteDragTargets targets, GdkDragAction actions); -#ifndef GTK_DISABLE_DEPRECATED +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); -#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;