[anjuta] plugins: project-wizard: Fix bgo#720969 - GtkApplication project template uses deprecated g_type_ini



commit 18069c8266adcc91c881fef58b15edab2fd69b00
Author: Florian Pelz <pelzflorian googlemail com>
Date:   Mon Dec 23 10:11:57 2013 +0100

    plugins: project-wizard: Fix bgo#720969 - GtkApplication project template uses deprecated g_type_init
    
    Removed unnecessary call to deprecated g_type_init function in GTK Application template.

 .../templates/gtkapplication/src/application.c     |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/project-wizard/templates/gtkapplication/src/application.c 
b/plugins/project-wizard/templates/gtkapplication/src/application.c
index f398908..c6672f7 100644
--- a/plugins/project-wizard/templates/gtkapplication/src/application.c
+++ b/plugins/project-wizard/templates/gtkapplication/src/application.c
@@ -129,8 +129,6 @@ static void
 [+NameCClass+] *
 [+NameCLower+]_new (void)
 {
-       g_type_init ();
-
        return g_object_new ([+NameCLower+]_get_type (),
                             "application-id", "org.gnome.[+NameCLower+]",
                             "flags", G_APPLICATION_HANDLES_OPEN,


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