[gtk+/wip/gapplication-2-22] [GtkApplication] Pass argc/argv



commit 5f11e84505f3d53af17dbb4d95324f43e5e07bcb
Author: Colin Walters <walters verbum org>
Date:   Tue May 18 22:53:04 2010 -0400

    [GtkApplication] Pass argc/argv

 tests/testapplication.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testapplication.c b/tests/testapplication.c
index c002d2c..06c6db8 100644
--- a/tests/testapplication.c
+++ b/tests/testapplication.c
@@ -56,7 +56,7 @@ main (int argc, char **argv)
   GtkAction *action;
   GtkActionGroup *actions;
 
-  app = gtk_application_new (NULL, NULL, "org.gtk.TestApp");
+  app = gtk_application_new (&argc, &argv, "org.gtk.TestApp");
   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]