[gtk+] tests: Update for GtkMisc deprecations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: Update for GtkMisc deprecations
- Date: Thu, 22 May 2014 12:52:09 +0000 (UTC)
commit cbb5e27b3e77bcba5eff39f02f8417d5c14f92f3
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 22 08:49:18 2014 -0400
tests: Update for GtkMisc deprecations
tests/testfilechooserbutton.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c
index 0aaf9c4..1f30f4a 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]