[gnome-screenshot] main: don't call g_type_init()



commit 9bf2dc546fbc47f56ebf12dfe18cb133a918957f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 14 10:29:25 2013 -0500

    main: don't call g_type_init()
    
    It's deprecated. Depend on GLib 2.35.1 for this.

 configure.ac           |    2 +-
 src/gnome-screenshot.c |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ced1266..c924f80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ AC_CACHE_SAVE
 
 GLIB_GSETTINGS
 
-GLIB_MIN_VERSION=2.33.1
+GLIB_MIN_VERSION=2.35.1
 GTK_MIN_VERSION=3.0.0
 
 msg_xshape=no
diff --git a/src/gnome-screenshot.c b/src/gnome-screenshot.c
index 0fe7cf2..111184d 100644
--- a/src/gnome-screenshot.c
+++ b/src/gnome-screenshot.c
@@ -38,8 +38,6 @@ main (int argc, char *argv[])
   gint result;
   ScreenshotApplication *app;
 
-  g_type_init ();
-
   setlocale (LC_ALL, "");
   bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");



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