[gnome-initial-setup] Revert "Remove deprecated g_type_init()"



commit 02437d6b9bbbecc8d1430cc17e3fc2a44e8ca2ad
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 6 00:16:57 2012 -0500

    Revert "Remove deprecated g_type_init()"
    
    This reverts commit 89b863cd8d130dffd016ef8b679c56a5fd091e13.

 .../gnome-initial-setup-copy-worker.c              |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup-copy-worker.c b/gnome-initial-setup/gnome-initial-setup-copy-worker.c
index 895fc58..0def968 100644
--- a/gnome-initial-setup/gnome-initial-setup-copy-worker.c
+++ b/gnome-initial-setup/gnome-initial-setup-copy-worker.c
@@ -50,6 +50,8 @@ main (int    argc,
   GError *error = NULL;
   int ret = 0;
 
+  g_type_init ();
+
   src = g_file_new_for_path (get_skeleton_dir ());
 
   if (!g_file_query_exists (src, NULL))



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