fixed wrong parameters of slog_close call
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 11 Sep 2012 10:54:44 +0000 (10:54 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 11 Sep 2012 10:54:44 +0000 (10:54 +0000)
src/ui.c

index 8aab320..88d66f1 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -232,7 +232,7 @@ static void on_slog_enabled_cb(GConfClient *client,
        if (is_slog_enabled())
                slog_activate(NULL, sensors, mutex, config_get_slog_interval());
        else
-               slog_close(NULL, sensors);
+               slog_close();
 }
 
 void ui_window_create(struct ui_psensor *ui)