diff options
author | Steve Zesch <[email protected]> | 2012-03-17 10:52:00 -0700 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-03-17 10:52:00 -0700 |
commit | d8f49f31e5d2987cf494e47a16efd298eeb1e17e (patch) | |
tree | 80bf8a5c44883ef5c6b3543f0dcc6ed52b0af308 /src/procman.cpp | |
parent | 7d89fc8a9fbe3d16bdbb3f5eaeeb978e212c4c83 (diff) | |
parent | 7b0f14e04533ae7cdb3689862e763f90c688dccf (diff) | |
download | mate-system-monitor-d8f49f31e5d2987cf494e47a16efd298eeb1e17e.tar.bz2 mate-system-monitor-d8f49f31e5d2987cf494e47a16efd298eeb1e17e.tar.xz |
Merge pull request #3 from benpicco/mastermate-system-monitor-1.2.1
sync with upstream
Diffstat (limited to 'src/procman.cpp')
-rw-r--r-- | src/procman.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/procman.cpp b/src/procman.cpp index 16640c3..bffb4af 100644 --- a/src/procman.cpp +++ b/src/procman.cpp @@ -728,11 +728,12 @@ main (int argc, char *argv[]) exit (0); } + /* initialize rsvg */ + rsvg_init (); + gtk_window_set_default_icon_name ("utilities-system-monitor"); g_set_application_name(_("System Monitor")); - mateconf_init (argc, argv, NULL); - client = mateconf_client_get_default (); mateconf_client_add_dir(client, "/apps/procman", MATECONF_CLIENT_PRELOAD_NONE, NULL); @@ -768,6 +769,10 @@ 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; } |