summaryrefslogtreecommitdiff
path: root/src/procman.cpp
diff options
context:
space:
mode:
authorChris Kühl <[email protected]>2011-01-27 15:20:45 +0100
committerBenjamin Valentin <[email protected]>2012-03-17 16:45:47 +0100
commit0a2d8ddbcd904afbd80aace9de6732a7bea28399 (patch)
treee241b8010bd92d099ee7824241963c655e53eeff /src/procman.cpp
parented0b5b561f7adada1e62041d29edd18612d42ea8 (diff)
downloadmate-system-monitor-0a2d8ddbcd904afbd80aace9de6732a7bea28399.tar.bz2
mate-system-monitor-0a2d8ddbcd904afbd80aace9de6732a7bea28399.tar.xz
Moved rsvg_init and rsvg_term into main to fix Bug #613752.
Diffstat (limited to 'src/procman.cpp')
-rw-r--r--src/procman.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/procman.cpp b/src/procman.cpp
index 16640c3..9a4d543 100644
--- a/src/procman.cpp
+++ b/src/procman.cpp
@@ -728,6 +728,9 @@ 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"));
@@ -768,6 +771,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;
}