diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-02-27 07:10:59 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-02-27 07:11:43 -0500 |
commit | 2c25bd85b8690eb0ca6b023122dc130d57c0ca8d (patch) | |
tree | a0a1e65a7230ddfd9a2345a1e8c5b8928a7b090f /gtk/gtkwidgetpath.h | |
parent | 98f3468172004901df6e8bf507e4ec1b0fdac42d (diff) | |
download | gtk+-2c25bd85b8690eb0ca6b023122dc130d57c0ca8d.tar.gz |
gtk: Use versioned deprecations
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers
by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
in 3.2 and 3.4.
Diffstat (limited to 'gtk/gtkwidgetpath.h')
-rw-r--r-- | gtk/gtkwidgetpath.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkwidgetpath.h b/gtk/gtkwidgetpath.h index 0ff9b76e16..b042544dc9 100644 --- a/gtk/gtkwidgetpath.h +++ b/gtk/gtkwidgetpath.h @@ -25,6 +25,7 @@ #define __GTK_WIDGET_PATH_H__ #include <glib-object.h> +#include <gdk/gdk.h> #include <gtk/gtkenums.h> G_BEGIN_DECLS @@ -41,10 +42,13 @@ GType gtk_widget_path_get_type (void) G_GNUC_CONST; GtkWidgetPath * gtk_widget_path_new (void); GtkWidgetPath * gtk_widget_path_copy (const GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 GtkWidgetPath * gtk_widget_path_ref (GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 void gtk_widget_path_unref (GtkWidgetPath *path); void gtk_widget_path_free (GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 char * gtk_widget_path_to_string (const GtkWidgetPath *path); gint gtk_widget_path_length (const GtkWidgetPath *path); @@ -52,10 +56,12 @@ gint gtk_widget_path_append_type (GtkWidgetPath *path, GType type); void gtk_widget_path_prepend_type (GtkWidgetPath *path, GType type); +GDK_AVAILABLE_IN_3_2 gint gtk_widget_path_append_with_siblings(GtkWidgetPath *path, GtkWidgetPath *siblings, guint sibling_index); /* gtk_widget_path_append_for_widget() is declared in gtkwidget.c */ +GDK_AVAILABLE_IN_3_2 gint gtk_widget_path_append_for_widget (GtkWidgetPath *path, GtkWidget *widget); |