diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-22 08:49:18 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-22 08:49:18 -0400 |
commit | cbb5e27b3e77bcba5eff39f02f8417d5c14f92f3 (patch) | |
tree | c8b3bdf52dcab4e5d699dee9ffabf543cc5c1d71 /tests/testfilechooserbutton.c | |
parent | 39ccbe6549971afd09ce5483638ea84840bf2e21 (diff) | |
download | gtk+-cbb5e27b3e77bcba5eff39f02f8417d5c14f92f3.tar.gz |
tests: Update for GtkMisc deprecations
Diffstat (limited to 'tests/testfilechooserbutton.c')
-rw-r--r-- | tests/testfilechooserbutton.c | 4 |
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", |