X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=examples%2Fhildon-caption-example.c;h=188cbd9a8421dc0d84e1c6a200d75259f467e342;hb=4b7a3e775470d82b8ba2c5d896edbb8911aca2f0;hp=82e8762d1462401a9b87ba808547e7b24048f9d0;hpb=c554a4c748fd50961d161005bc1c09a2fd815239;p=hildon diff --git a/examples/hildon-caption-example.c b/examples/hildon-caption-example.c index 82e8762..188cbd9 100644 --- a/examples/hildon-caption-example.c +++ b/examples/hildon-caption-example.c @@ -8,7 +8,7 @@ * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; version 2.1 of - * the License. + * the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -26,14 +26,14 @@ #include #include #include -#include "hildon.h" +#include int -main (int argc, - char **args) +main (int argc, + char **argv) { - gtk_init (&argc, &args); - + hildon_gtk_init (&argc, &argv); + GtkDialog *dialog = GTK_DIALOG (gtk_dialog_new ()); GtkSizeGroup *size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);