[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 01/01: Drop unused code
noreply at xfce.org
noreply at xfce.org
Sat Dec 23 00:06:28 CET 2017
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-systemload-plugin.
commit 963ca892a8fd2459717d5a9db0a07c96a8b46db1
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sat Dec 23 00:03:13 2017 +0100
Drop unused code
---
panel-plugin/systemload.c | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 64b256a..78c2290 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -702,24 +702,6 @@ entry_changed_cb(GtkEntry *entry, t_global_monitor *global)
}
static void
-check_button_cb(GtkToggleButton *check_button, t_global_monitor *global)
-{
- gboolean oldstate;
- gboolean* boolvar;
- gpointer sensitive_widget;
- boolvar = (gboolean*)g_object_get_data(G_OBJECT(check_button), "boolvar");
- sensitive_widget = g_object_get_data(G_OBJECT(check_button), "sensitive_widget");
- oldstate = *boolvar;
- *boolvar = gtk_toggle_button_get_active(check_button);
- if (sensitive_widget)
- gtk_widget_set_sensitive(GTK_WIDGET(sensitive_widget), *boolvar);
- if (boolvar == &(global->command.enabled)) {
- gtk_widget_set_visible(global->menu_item, *boolvar);
- } else if (oldstate != *boolvar)
- setup_monitor(global);
-}
-
-static void
switch_cb(GtkSwitch *check_button, gboolean state, t_global_monitor *global)
{
gboolean oldstate;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list