[Xfce4-commits] <xfce4-genmon-plugin:master> Fix compiler warning (incompatible pointer type).

John Lindgren noreply at xfce.org
Sun Jan 1 21:46:01 CET 2012


Updating branch refs/heads/master
         to 2a9c958cc1cd86bd1172f8dadd1dc3fbae3d3fa2 (commit)
       from b27fd3e5f5a2b4465e1c58c90e0e48be6850012e (commit)

commit 2a9c958cc1cd86bd1172f8dadd1dc3fbae3d3fa2
Author: John Lindgren <john.lindgren at aol.com>
Date:   Sun Jan 1 15:43:13 2012 -0500

    Fix compiler warning (incompatible pointer type).

 panel-plugin/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index f59886e..0d1bdb6 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -121,7 +121,7 @@ static int DisplayCmdOutput (struct genmon_t *p_poPlugin)
     struct param_t *poConf = &(p_poPlugin->oConf.oParam);
     struct monitor_t *poMonitor = &(p_poPlugin->oMonitor);
     char   acToolTips[256];
-    char   acCompleteCmd[256];         
+    char   acCompleteCmd[256];
     int    status;
     char  *begin;
     char  *end;
@@ -747,7 +747,7 @@ static void genmon_set_orientation (XfcePanelPlugin *plugin,
         (poMonitor->wBox), BORDER);
     gtk_container_add (GTK_CONTAINER (poMonitor->wEventBox),
         poMonitor->wBox);
-	gtk_event_box_set_visible_window(poMonitor->wEventBox, FALSE);
+    gtk_event_box_set_visible_window (GTK_EVENT_BOX (poMonitor->wEventBox), FALSE);
 
     poMonitor->wTitle = gtk_label_new (poConf->acTitle);
     if (poConf->fTitleDisplayed)


More information about the Xfce4-commits mailing list