X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=examples%2Fhildon-insensitive-example.c;h=1e0f34b2e20e951e1a058f8f6be66440bbfc3173;hb=70ccba076b4b654eb5d98c139a2a250fcb3bddf2;hp=8f1d919cb71e76ede3c5f9a06ac2af4eaf98a6a6;hpb=d495dc46fdc50a8ed3fc31061d14f6c0c23a848d;p=hildon diff --git a/examples/hildon-insensitive-example.c b/examples/hildon-insensitive-example.c index 8f1d919..1e0f34b 100644 --- a/examples/hildon-insensitive-example.c +++ b/examples/hildon-insensitive-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); + HildonWindow *window = HILDON_WINDOW (hildon_window_new ()); GtkWidget *button = gtk_button_new_with_label ("Click me");