[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/01: Remove unnecessary comments
noreply at xfce.org
noreply at xfce.org
Thu Jun 9 01:45:32 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 04d046e36c5bc85d1d73358601314ed3585d076a
Author: ToZ <tony.paulic at gmail.com>
Date: Wed Jun 8 19:45:13 2016 -0400
Remove unnecessary comments
---
panel-plugin/main.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 216d560..7cf3c94 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -106,8 +106,6 @@ static int DisplayCmdOutput (struct genmon_t *p_poPlugin)
/* Launch the command, get its output and display it in the panel-docked
text field */
{
- //static GtkTooltips *s_poToolTips = 0;
-
struct param_t *poConf = &(p_poPlugin->oConf.oParam);
struct monitor_t *poMonitor = &(p_poPlugin->oMonitor);
char *acToolTips;
@@ -115,9 +113,6 @@ static int DisplayCmdOutput (struct genmon_t *p_poPlugin)
char *end;
int newVersion=0;
- //if (!s_poToolTips)
- // s_poToolTips = gtk_tooltips_new ();
-
g_free (p_poPlugin->acValue);
if (poConf->acCmd[0])
p_poPlugin->acValue = genmon_SpawnCmd (poConf->acCmd, 1);
@@ -826,7 +821,7 @@ static void genmon_construct (XfcePanelPlugin *plugin)
g_signal_connect (plugin, "size-changed", G_CALLBACK (genmon_set_size), genmon);
xfce_panel_plugin_menu_show_about (plugin);
- //g_signal_connect (plugin, "about", G_CALLBACK (About), genmon);
+
g_signal_connect (plugin, "about", G_CALLBACK (About), plugin);
xfce_panel_plugin_menu_show_configure (plugin);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list