summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2013-03-19 14:31:43 +0100
committerMatthias Clasen <mclasen@redhat.com>2013-03-24 14:22:38 -0400
commit6cb2816c452b7ecda43171a2de648f18ede754b4 (patch)
tree3d914750e69d01fa2ff192a5717f931d286fd6fa /gtk/gtkwidget.h
parentf69236a6bac573f306d8868ad7fa8342a5b5207b (diff)
downloadgtk+-6cb2816c452b7ecda43171a2de648f18ede754b4.tar.gz
GtkWidget: add missing deprecation marks
https://bugzilla.gnome.org/show_bug.cgi?id=696138
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index bdf8e5e607..962e4a6ff3 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -590,8 +590,11 @@ void gtk_widget_set_name (GtkWidget *widget,
const gchar *name);
const gchar * gtk_widget_get_name (GtkWidget *widget);
+GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_set_state_flags)
void gtk_widget_set_state (GtkWidget *widget,
GtkStateType state);
+
+GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_state_flags)
GtkStateType gtk_widget_get_state (GtkWidget *widget);
void gtk_widget_set_state_flags (GtkWidget *widget,
@@ -665,6 +668,7 @@ void gtk_widget_get_allocation (GtkWidget *widget,
void gtk_widget_set_allocation (GtkWidget *widget,
const GtkAllocation *allocation);
+GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_width and gtk_widget_get_preferred_height)
void gtk_widget_get_requisition (GtkWidget *widget,
GtkRequisition *requisition);