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/gtkentry.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/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 0bebaa2015..eac84bc1ad 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -149,10 +149,10 @@ void gtk_entry_set_has_frame (GtkEntry *entry, gboolean setting); gboolean gtk_entry_get_has_frame (GtkEntry *entry); -GDK_DEPRECATED +GDK_DEPRECATED_IN_3_4 void gtk_entry_set_inner_border (GtkEntry *entry, const GtkBorder *border); -GDK_DEPRECATED +GDK_DEPRECATED_IN_3_4 const GtkBorder* gtk_entry_get_inner_border (GtkEntry *entry); void gtk_entry_set_overwrite_mode (GtkEntry *entry, @@ -214,9 +214,9 @@ void gtk_entry_set_progress_pulse_step (GtkEntry *entry, gdouble gtk_entry_get_progress_pulse_step (GtkEntry *entry); void gtk_entry_progress_pulse (GtkEntry *entry); - +GDK_AVAILABLE_IN_3_2 const gchar* gtk_entry_get_placeholder_text (GtkEntry *entry); - +GDK_AVAILABLE_IN_3_2 void gtk_entry_set_placeholder_text (GtkEntry *entry, const gchar *text); /* Setting and managing icons |