forked from AuroraMiddleware/gtk
tests: Add deprecation guards
This commit is contained in:
parent
9b29a7a700
commit
e109894f37
@ -35,7 +35,9 @@ show_message_dialog1a (GtkWindow *parent)
|
||||
|
||||
image = gtk_image_new_from_icon_name ("computer-fail", GTK_ICON_SIZE_DIALOG);
|
||||
gtk_widget_show (image);
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
|
||||
gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS;
|
||||
|
||||
|
||||
gtk_dialog_run (GTK_DIALOG (dialog));
|
||||
|
Loading…
Reference in New Issue
Block a user