]> Pileus Git - ~andy/gtk/commitdiff
[gtk-example-application] Use the new api
authorJavier Jardón <jjardon@gnome.org>
Thu, 24 Jun 2010 00:02:10 +0000 (02:02 +0200)
committerJavier Jardón <jjardon@gnome.org>
Thu, 24 Jun 2010 00:02:10 +0000 (02:02 +0200)
gtk/tests/gtk-example-application.c

index 4248e0ef2b371eb539f3f9981bafe34ca3ded423..2bd5f78d06189610cb0ae3859b6c3afc5f403123 100644 (file)
@@ -35,7 +35,7 @@ main (int argc, char **argv)
   GtkAction *action;
   GtkActionGroup *actions;
 
-  app = gtk_application_new (&argc, &argv, "org.gtk.Example");
+  app = gtk_application_new ("org.gtk.Example", &argc, &argv);
   builder = gtk_builder_new ();
   if (!gtk_builder_add_from_string (builder, builder_data, -1, NULL))
     g_error ("failed to parse UI");