[gtk+] gtk3-demo: Drop unneeded gtk_init() call



commit d67751d0cc9f33021cd9f8975098d2a9d118cf88
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon May 12 22:38:37 2014 -0400

    gtk3-demo: Drop unneeded gtk_init() call
    
    GtkApplication is doing this for us.

 demos/gtk-demo/main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index ac8e5d8..6a1553a 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -1015,8 +1015,6 @@ main (int argc, char **argv)
     }
   /* -- End of hack -- */
 
-  gtk_init (&argc, &argv);
-
   app = gtk_application_new ("org.gtk.Demo", 0);
 
   g_action_map_add_action_entries (G_ACTION_MAP (app),


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