From 8281e9833a31d8731e8dd405fea2b1138dcc4ff8 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 17:46:47 +0200 Subject: Use a blank line at most --- multiload/src/linux-proc.c | 1 - multiload/src/load-graph.c | 1 - multiload/src/main.c | 1 - multiload/src/properties.c | 3 --- 4 files changed, 6 deletions(-) (limited to 'multiload') diff --git a/multiload/src/linux-proc.c b/multiload/src/linux-proc.c index 10b3ddd5..f5549f67 100644 --- a/multiload/src/linux-proc.c +++ b/multiload/src/linux-proc.c @@ -109,7 +109,6 @@ GetDiskLoad (guint64 Maximum, multiload = g->multiload; - if(first_call) { autoscaler_init (&scaler, g->speed, 500); diff --git a/multiload/src/load-graph.c b/multiload/src/load-graph.c index 23fbacde..67fc09cd 100644 --- a/multiload/src/load-graph.c +++ b/multiload/src/load-graph.c @@ -43,7 +43,6 @@ shift_right(LoadGraph *g) g->data[0] = last_data; } - /* Redraws the backing pixmap for the load graph and updates the window */ static void load_graph_draw (LoadGraph *g) diff --git a/multiload/src/main.c b/multiload/src/main.c index eca780a5..1f2ac814 100644 --- a/multiload/src/main.c +++ b/multiload/src/main.c @@ -222,7 +222,6 @@ multiload_destroy_cb(GtkWidget *widget, gpointer data) return; } - static gboolean multiload_button_press_event_cb (GtkWidget *widget, GdkEventButton *event, MultiloadApplet *ma) { diff --git a/multiload/src/properties.c b/multiload/src/properties.c index 37cc8bf2..7f237370 100644 --- a/multiload/src/properties.c +++ b/multiload/src/properties.c @@ -32,7 +32,6 @@ hard_set_sensitive (GtkWidget *w, gboolean sensitivity) GINT_TO_POINTER ( ! sensitivity)); } - /* set sensitive, but always insensitive if NEVER_SENSITIVE is set */ static void soft_set_sensitive (GtkWidget *w, gboolean sensitivity) @@ -147,7 +146,6 @@ on_net_threshold1_spin_button_value_changed (GtkSpinButton *spin_button, g_settings_set_uint64 (ma->settings, KEY_NET_THRESHOLD1, ma->net_threshold1); } - static void on_net_threshold2_spin_button_value_changed (GtkSpinButton *spin_button, gpointer user_data) @@ -167,7 +165,6 @@ on_net_threshold2_spin_button_value_changed (GtkSpinButton *spin_button, g_settings_set_uint64 (ma->settings, KEY_NET_THRESHOLD2, ma->net_threshold2); } - static void on_net_threshold3_spin_button_value_changed (GtkSpinButton *spin_button, gpointer user_data) -- cgit v1.2.1