[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 02/04: No need to call setup_monitor three times in monitor_apply_options()

noreply at xfce.org noreply at xfce.org
Thu Feb 9 20:42:35 CET 2017


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-netload-plugin.

commit c21537cd4b1ecdbc259346f3eb79ce953db0c797
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Feb 9 20:13:46 2017 +0100

    No need to call setup_monitor three times in monitor_apply_options()
---
 panel-plugin/netload.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c
index 8b01780..116d74f 100644
--- a/panel-plugin/netload.c
+++ b/panel-plugin/netload.c
@@ -784,7 +784,6 @@ static void monitor_apply_options(t_global_monitor *global)
 
     global->monitor->options.label_text =
         g_strdup(gtk_entry_get_text(GTK_ENTRY(global->monitor->opt_entry)));
-    setup_monitor(global, FALSE);
 
     if (global->monitor->options.network_device)
     {
@@ -792,7 +791,6 @@ static void monitor_apply_options(t_global_monitor *global)
     }
     global->monitor->options.network_device =
         g_strdup(gtk_entry_get_text(GTK_ENTRY(global->monitor->net_entry)));
-    setup_monitor(global, FALSE);
     
     for( i = 0; i < SUM; i++ )
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list