From e35c2d096519a5f33ec395fde3b58825631a670c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 2 Jun 2012 20:50:03 -0400 Subject: [PATCH] Fix a compiler warning (cast GtkWidget -> GtkEventBox). --- panel-plugin/xfce4-hdaps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.43.2