summaryrefslogtreecommitdiff
path: root/batmon/batmon.c
diff options
context:
space:
mode:
authorFederico Mena <federico@bananoid.nuclecu.unam.mx>1998-01-02 21:25:36 +0000
committerArturo Espinosa <unammx@src.gnome.org>1998-01-02 21:25:36 +0000
commit113e2b8d8a7c6534f3039a76014042d7b4cd125d (patch)
tree7e8bad7522aadfba8fdfa1f774e3d9003ff57538 /batmon/batmon.c
parent581848db1357965996251f971c3b009728e7fa43 (diff)
Added #include <unistd.h>
Fri Jan 2 14:53:14 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx> * programs/linux-conf/conf.c: Added #include <unistd.h> * programs/gnomine/gnomine.c (main): Removed some unused variables. * programs/desktop-properties/property-background.c: Added #include <string.h>. * programs/desktop-properties/property-keyboard.c (rbutton_toggled, rate_changed, delay_changed, cbutton_toggled, cvol_changed): Made these functions return void, same as below. * programs/desktop-properties/property-mouse.c (scale_moved, button_toggled): Made these functions return void in agreement with the signal they handle. * libgnome/gnome-history.c (write_history): Removed unused variable t. * programs/panel/netwatch/netwatch.c (create_netwatch): Added parentheses around assignment used as truth value. * programs/panel/batmon/batmon.c (destroy_module): Replaced gtk_tooltips_destroy() by gtk_tooltips_unref(). * programs/panel/mailcheck/mailcheck.c (next_frame): Make the timeout handler return TRUE. * Lots of fixes for warnings that I forgot to add in the ChangeLog, sorry :-( Fri Jan 2 15:18:45 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx> * gtkvt102.c: Added #include <string.h> * gtkterm.c: Added #include <string.h>.
Diffstat (limited to 'batmon/batmon.c')
-rw-r--r--batmon/batmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/batmon/batmon.c b/batmon/batmon.c
index 769c13cc1..0a359d2d5 100644
--- a/batmon/batmon.c
+++ b/batmon/batmon.c
@@ -341,7 +341,7 @@ init_module(void)
static void
destroy_module(void)
{
- gtk_tooltips_destroy(tooltips);
+ gtk_tooltips_unref(tooltips);
g_free(ac_pixmap_filename);
g_free(bat_pixmap_filename);