[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/01: Remove unused variables and code

noreply at xfce.org noreply at xfce.org
Sun Apr 5 14:20:25 CEST 2020


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

T   o   Z       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-genmon-plugin.

commit 3a2404d97f79ad793b486591575357af802cad2a
Author: ToZ <tony.paulic at gmail.com>
Date:   Sun Apr 5 08:20:10 2020 -0400

    Remove unused variables and code
---
 panel-plugin/config_gui.c | 1 -
 panel-plugin/main.c       | 8 ++------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index bd0eb25..5fdb863 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -65,7 +65,6 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
     GtkWidget      *wTF_Title;
     GtkWidget      *hseparator10;
     GtkWidget      *wPB_Font;
-    GtkWidget      *hbox4;
 
     table1 = gtk_grid_new ();
     gtk_grid_set_column_spacing(GTK_GRID (table1), 12);
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 6b8f8f5..810a5cb 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -712,16 +712,12 @@ static void ToggleTitle (GtkWidget *p_w, void *p_pvPlugin)
     struct genmon_t *poPlugin = (genmon_t *) p_pvPlugin;
     struct param_t *poConf = &(poPlugin->oConf.oParam);
     struct gui_t   *poGUI = &(poPlugin->oConf.oGUI);
-    struct monitor_t *poMonitor = &(poPlugin->oMonitor);
-
+    
     poConf->fTitleDisplayedtmp =
         gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (p_w));
     gtk_widget_set_sensitive (GTK_WIDGET (poGUI->wTF_Title),
         poConf->fTitleDisplayedtmp);
-/*    if (poConf->fTitleDisplayedtmp)
-        gtk_widget_show (GTK_WIDGET (poMonitor->wTitle));
-    else
-        gtk_widget_hide (GTK_WIDGET (poMonitor->wTitle));*/
+
 }/* ToggleTitle() */
 
 /**************************************************************/

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


More information about the Xfce4-commits mailing list