summaryrefslogtreecommitdiff
path: root/tests/testfilechooserbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-22 08:49:18 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-22 08:49:18 -0400
commitcbb5e27b3e77bcba5eff39f02f8417d5c14f92f3 (patch)
treec8b3bdf52dcab4e5d699dee9ffabf543cc5c1d71 /tests/testfilechooserbutton.c
parent39ccbe6549971afd09ce5483638ea84840bf2e21 (diff)
downloadgtk+-cbb5e27b3e77bcba5eff39f02f8417d5c14f92f3.tar.gz
tests: Update for GtkMisc deprecations
Diffstat (limited to 'tests/testfilechooserbutton.c')
-rw-r--r--tests/testfilechooserbutton.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c
index 0aaf9c478a..1f30f4a4d3 100644
--- a/tests/testfilechooserbutton.c
+++ b/tests/testfilechooserbutton.c
@@ -273,7 +273,9 @@ main (int argc,
label = gtk_label_new_with_mnemonic ("_Open:");
gtk_size_group_add_widget (GTK_SIZE_GROUP (label_group), label);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+G_GNUC_END_IGNORE_DEPRECATIONS
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
chooser = gtk_file_chooser_button_new ("Select A File - testfilechooserbutton",
@@ -298,7 +300,9 @@ main (int argc,
label = gtk_label_new_with_mnemonic ("Select _Folder:");
gtk_size_group_add_widget (GTK_SIZE_GROUP (label_group), label);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+G_GNUC_END_IGNORE_DEPRECATIONS
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
chooser = gtk_file_chooser_button_new ("Select A Folder - testfilechooserbutton",