summaryrefslogtreecommitdiff
path: root/multiload/cpuload.c
diff options
context:
space:
mode:
authorJacob Berkman <jberkman@andrew.cmu.edu>1999-06-27 18:04:12 +0000
committerJacob Berkman <jberkman@src.gnome.org>1999-06-27 18:04:12 +0000
commit905baef48707f760d6c113166c9bf1e5ac947b48 (patch)
treebf03d2cd91384d575eb34d123d6d2875abffa235 /multiload/cpuload.c
parent8c8074a39e91e88b6ef8bb19d6649474c9f063cc (diff)
don't do a stock_callback, just a normal one (fixes a crash)
1999-06-27 Jacob Berkman <jberkman@andrew.cmu.edu> * cdplayer/cdplayer.c (main): don't do a stock_callback, just a normal one (fixes a crash) * multiload/swapload.c (make_swapload_applet): ditto * multiload/cpuload.c (make_cpuload_applet): same * multiload/memload.c (make_memload_applet): one more time
Diffstat (limited to 'multiload/cpuload.c')
-rw-r--r--multiload/cpuload.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/multiload/cpuload.c b/multiload/cpuload.c
index 53217bedf..99643c165 100644
--- a/multiload/cpuload.c
+++ b/multiload/cpuload.c
@@ -65,11 +65,10 @@ make_cpuload_applet (const gchar *goad_id)
multiload_properties_cb,
g);
- applet_widget_register_stock_callback (APPLET_WIDGET(applet),
- "run_gtop",
- NULL,
- _("Run gtop..."),
- start_gtop_cb, NULL);
+ applet_widget_register_callback (APPLET_WIDGET(applet),
+ "run_gtop",
+ _("Run gtop..."),
+ start_gtop_cb, NULL);
return applet;
}