diff options
Diffstat (limited to 'src/procman.cpp')
-rw-r--r-- | src/procman.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/procman.cpp b/src/procman.cpp index 14f3465..c534f8d 100644 --- a/src/procman.cpp +++ b/src/procman.cpp @@ -196,7 +196,7 @@ color_changed_cb (GSettings *settings, const gchar *key, gpointer data) if (has_key (keys, key)) color = g_settings_get_string (settings, key); else - color = "#FFFFFF"; /* white default color */ + color = g_strdup("#FFFFFF"); /* white default color */ g_strfreev (keys); if (g_str_has_prefix (key, "cpu-color")) { @@ -721,8 +721,7 @@ main (int argc, char *argv[]) exit (0); } - /* initialize rsvg */ - rsvg_init (); + g_type_init (); gtk_window_set_default_icon_name ("utilities-system-monitor"); g_set_application_name(_("System Monitor")); @@ -761,10 +760,6 @@ main (int argc, char *argv[]) glibtop_close (); - // This function should only be called just before program exit. - // See MATE bug #592100 for a discussion about this. - rsvg_term (); - return 0; } |