mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
tests/visuals: Squash a compiler warning
This commit is contained in:
parent
dba9c2e5a7
commit
626c08a847
@ -66,8 +66,9 @@ main (int argc, char *argv[])
|
||||
|
||||
gtk_init (&argc, &argv);
|
||||
|
||||
if (argc > 1)
|
||||
filename = argv[1];
|
||||
if (argc < 2)
|
||||
return 1;
|
||||
filename = argv[1];
|
||||
|
||||
builder = gtk_builder_new ();
|
||||
gtk_builder_add_from_file (builder, filename, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user