diff options
author | infirit <[email protected]> | 2014-05-17 15:33:36 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-24 18:05:54 +0200 |
commit | 7654cb5af09a0e7522f1fdffce5ab6b469303790 (patch) | |
tree | 3e02906bf9ac38ef1793a69f96c65504f549556d /src/main.c | |
parent | 5c5c6ea8eaa76516469350ebaf880e3a43934d78 (diff) | |
download | eom-7654cb5af09a0e7522f1fdffce5ab6b469303790.tar.bz2 eom-7654cb5af09a0e7522f1fdffce5ab6b469303790.tar.xz |
Fix glib/librsvg deprecation
librsvg: Only inlcude rsvg.h and remove calls to rsvg_init
glib: Remove call to g_thread_init and use g_value_*_schar
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -185,9 +185,6 @@ main (int argc, char **argv) GError *error = NULL; GOptionContext *ctx; - if (!g_thread_supported ()) - g_thread_init (NULL); - bindtextdomain (GETTEXT_PACKAGE, EOM_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); @@ -231,9 +228,6 @@ main (int argc, char **argv) #ifdef HAVE_EXEMPI xmp_init(); #endif -#ifdef HAVE_RSVG - rsvg_init(); -#endif eom_debug_init (); eom_job_queue_init (); gdk_threads_init (); @@ -260,9 +254,6 @@ main (int argc, char **argv) eom_plugin_engine_shutdown (); -#ifdef HAVE_RSVG - rsvg_term(); -#endif #ifdef HAVE_EXEMPI xmp_terminate(); #endif |