Deprecate GtkAligment

This has been dangling ever since 3.0.

https://bugzilla.gnome.org/show_bug.cgi?id=645781
This commit is contained in:
Matthias Clasen
2014-05-23 20:09:08 -04:00
parent 4928d5e401
commit 04703689b8
9 changed files with 42 additions and 21 deletions

View File

@ -122,8 +122,10 @@ get_label_from_button (GtkWidget *button)
GtkWidget *child;
child = gtk_bin_get_child (GTK_BIN (button));
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (GTK_IS_ALIGNMENT (child))
child = gtk_bin_get_child (GTK_BIN (child));
G_GNUC_END_IGNORE_DEPRECATIONS
if (GTK_IS_CONTAINER (child))
child = find_label_child (GTK_CONTAINER (child));

View File

@ -281,7 +281,7 @@ gtk_widget_accessible_ref_relation_set (AtkObject *obj)
GtkWidget *temp_widget;
temp_widget = gtk_widget_get_parent (widget);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (GTK_IS_ALIGNMENT (temp_widget))
{
temp_widget = gtk_widget_get_parent (temp_widget);
@ -292,6 +292,7 @@ gtk_widget_accessible_ref_relation_set (AtkObject *obj)
label = find_label (gtk_widget_get_parent (temp_widget));
}
}
G_GNUC_END_IGNORE_DEPRECATIONS
}
else if (GTK_IS_COMBO_BOX (widget))
/*