forked from AuroraMiddleware/gtk
GtkWidget: add missing deprecation marks
https://bugzilla.gnome.org/show_bug.cgi?id=696138
This commit is contained in:
parent
f69236a6ba
commit
6cb2816c45
@ -1617,7 +1617,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
|
||||
widget_signals[STATE_CHANGED] =
|
||||
g_signal_new (I_("state-changed"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_SIGNAL_RUN_FIRST | G_SIGNAL_DEPRECATED,
|
||||
G_STRUCT_OFFSET (GtkWidgetClass, state_changed),
|
||||
NULL, NULL,
|
||||
_gtk_marshal_VOID__ENUM,
|
||||
@ -1704,7 +1704,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
|
||||
widget_signals[STYLE_SET] =
|
||||
g_signal_new (I_("style-set"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_SIGNAL_RUN_FIRST | G_SIGNAL_DEPRECATED,
|
||||
G_STRUCT_OFFSET (GtkWidgetClass, style_set),
|
||||
NULL, NULL,
|
||||
_gtk_marshal_VOID__OBJECT,
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user