X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fgtk-clutter-viewport.c;fp=examples%2Fgtk-clutter-viewport.c;h=33c54ad88fe5f890adc8cf2003d6f1effe77e644;hb=4ff52b7adfa037f146089d2831fb7514f233a195;hp=37c29801b21639d4a6ec6bb4d8fa1030c6307f7a;hpb=08f52ea09581985ff07f657d3e078d6ad2130ad7;p=clutter-gtk diff --git a/examples/gtk-clutter-viewport.c b/examples/gtk-clutter-viewport.c index 37c2980..33c54ad 100644 --- a/examples/gtk-clutter-viewport.c +++ b/examples/gtk-clutter-viewport.c @@ -42,7 +42,7 @@ main (int argc, char *argv[]) clutter_actor_set_size (viewport, 320, 240); clutter_container_add_actor (CLUTTER_CONTAINER (stage), viewport); - if (argc < 1) + if (argc < 2) tex = gtk_clutter_texture_new_from_stock (embed, GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG);