[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/01: Remove unnecessary comments
noreply at xfce.org
noreply at xfce.org
Tue Jun 21 03:52:38 CEST 2016
This is an automated email from the git hooks/post-receive script.
ToZ pushed a commit to branch master
in repository panel-plugins/xfce4-genmon-plugin.
commit 323a0e871a0e566c33afe475f188dadef1672c4d
Author: ToZ <tony.paulic at gmail.com>
Date: Mon Jun 20 21:52:20 2016 -0400
Remove unnecessary comments
---
panel-plugin/config_gui.c | 2 --
panel-plugin/main.c | 4 +---
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index 0d8e081..a256f27 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -66,8 +66,6 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
GtkWidget *hseparator10;
GtkWidget *wPB_Font;
GtkWidget *hbox4;
- //GtkWidget *image2;
- //GtkWidget *label11;
table1 = gtk_grid_new ();
gtk_grid_set_column_spacing(GTK_GRID (table1), 2);
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 447e384..5b7ba56 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -263,8 +263,7 @@ static genmon_t *genmon_create_control (XfcePanelPlugin *plugin)
struct param_t *poConf;
struct monitor_t *poMonitor;
GtkOrientation orientation = xfce_panel_plugin_get_orientation (plugin);
- //int size = xfce_panel_plugin_get_size (plugin);
-
+
poPlugin = g_new (genmon_t, 1);
memset (poPlugin, 0, sizeof (genmon_t));
poConf = &(poPlugin->oConf.oParam);
@@ -733,7 +732,6 @@ static void genmon_set_orientation (XfcePanelPlugin *plugin,
/* Plugin API */
/* Invoked when the panel changes orientation */
{
- //struct param_t *poConf = &(poPlugin->oConf.oParam);
struct monitor_t *poMonitor = &(poPlugin->oMonitor);
gtk_orientable_set_orientation(GTK_ORIENTABLE(poMonitor->wBox), p_iOrientation);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list