[gtk+] [gtk-example-application] Use the new api



commit 009e26f32f27dacb907aa9917fbfac799c2f3247
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Jun 24 02:02:10 2010 +0200

    [gtk-example-application] Use the new api

 gtk/tests/gtk-example-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/tests/gtk-example-application.c b/gtk/tests/gtk-example-application.c
index 4248e0e..2bd5f78 100644
--- a/gtk/tests/gtk-example-application.c
+++ b/gtk/tests/gtk-example-application.c
@@ -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");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]