From 905baef48707f760d6c113166c9bf1e5ac947b48 Mon Sep 17 00:00:00 2001 From: Jacob Berkman Date: Sun, 27 Jun 1999 18:04:12 +0000 Subject: don't do a stock_callback, just a normal one (fixes a crash) 1999-06-27 Jacob Berkman * 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 --- multiload/cpuload.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'multiload/cpuload.c') 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; } -- cgit v1.2.3