From: Michael Orlitzky Date: Sun, 3 Jun 2012 00:50:03 +0000 (-0400) Subject: Fix a compiler warning (cast GtkWidget -> GtkEventBox). X-Git-Tag: v0.0.9~3 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=e35c2d096519a5f33ec395fde3b58825631a670c;p=xfce4-hdaps.git Fix a compiler warning (cast GtkWidget -> GtkEventBox). --- diff --git a/panel-plugin/xfce4-hdaps.c b/panel-plugin/xfce4-hdaps.c index 732224c..e263ce5 100644 --- a/panel-plugin/xfce4-hdaps.c +++ b/panel-plugin/xfce4-hdaps.c @@ -252,7 +252,7 @@ static HdapsPlugin *hdaps_new(XfcePanelPlugin *plugin) { /* Make the event box transparent. In newer versions of xfce4-panel users can make the panel transparent, so we don't want to stick a big opaque box on it. */ - gtk_event_box_set_visible_window(hdaps->eventbox, FALSE); + gtk_event_box_set_visible_window(GTK_EVENT_BOX(hdaps->eventbox), FALSE); /* Set up the hvbox for the widget, which supports both horizontal and vertical (hv) orientations. */