summaryrefslogtreecommitdiff
path: root/font-viewer
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-08 20:28:20 +0100
committerraveit65 <[email protected]>2017-02-17 12:28:22 +0100
commitcf43bae027ecc98887b56afedb0826343712c98d (patch)
tree60c26007462f8f49df049aacb58073516db95168 /font-viewer
parente0a35ee6b807d8bdd05c286434291f6dda7b73fd (diff)
downloadmate-control-center-cf43bae027ecc98887b56afedb0826343712c98d.tar.bz2
mate-control-center-cf43bae027ecc98887b56afedb0826343712c98d.tar.xz
Fontviewer: don't call deprecated g_type_init()
Diffstat (limited to 'font-viewer')
-rw-r--r--font-viewer/font-thumbnailer.c2
-rw-r--r--font-viewer/font-view.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/font-viewer/font-thumbnailer.c b/font-viewer/font-thumbnailer.c
index 97ae8bee..7323f313 100644
--- a/font-viewer/font-thumbnailer.c
+++ b/font-viewer/font-thumbnailer.c
@@ -200,8 +200,6 @@ main (int argc,
setlocale (LC_ALL, "");
- g_type_init ();
-
context = g_option_context_new (NULL);
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c
index df71df75..d6e0c8b8 100644
--- a/font-viewer/font-view.c
+++ b/font-viewer/font-view.c
@@ -822,8 +822,6 @@ font_view_application_class_init (FontViewApplicationClass *klass)
static GApplication *
font_view_application_new (void)
{
- g_type_init ();
-
if (!FcInit ())
g_critical ("Can't initialize fontconfig library");