tests: Ignore deprecation warnings

This commit is contained in:
Benjamin Otte
2013-06-26 15:50:32 +02:00
parent 14c78ed667
commit 427d4195a1
3 changed files with 13 additions and 1 deletions

View File

@ -36,7 +36,9 @@ int main (int argc, char *argv[])
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_container_add (GTK_CONTAINER (box), hbox);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
button = gtk_button_new_from_stock (GTK_STOCK_SAVE);
G_GNUC_END_IGNORE_DEPRECATIONS;
gtk_container_add (GTK_CONTAINER (hbox), button);
g_object_get (button,