[gnome-disk-utility] Don't initialize GTK+ explicitly



commit b2b2030e05a1e1734bee4466dc166566250ab31e
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 25 21:15:45 2015 -0500

    Don't initialize GTK+ explicitly
    
    GtkApplication does this automatically, at the proper time.
    There is no need to it manually.

 src/disks/gduapplication.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/disks/gduapplication.c b/src/disks/gduapplication.c
index 5759ed4..e877f30 100644
--- a/src/disks/gduapplication.c
+++ b/src/disks/gduapplication.c
@@ -381,7 +381,6 @@ gdu_application_class_init (GduApplicationClass *klass)
 GApplication *
 gdu_application_new (void)
 {
-  gtk_init (NULL, NULL);
   return G_APPLICATION (g_object_new (GDU_TYPE_APPLICATION,
                                       "application-id", "org.gnome.DiskUtility",
                                       "flags", G_APPLICATION_HANDLES_COMMAND_LINE,


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