[Xfce4-commits] [apps/xfdashboard] 04/05: Fix compiler warnings

noreply at xfce.org noreply at xfce.org
Tue Feb 23 22:35:15 CET 2016


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit c67768aa8b6b7025611ebcd2ac7ca1602e9c88a3
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Feb 23 22:33:39 2016 +0100

    Fix compiler warnings
---
 plugins/clock-view/plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/clock-view/plugin.c b/plugins/clock-view/plugin.c
index 3674973..2048eb0 100644
--- a/plugins/clock-view/plugin.c
+++ b/plugins/clock-view/plugin.c
@@ -121,7 +121,7 @@ static void _plugin_on_color_button_color_chosen(GtkColorButton *inButton,
 	settingsColor.alpha=MIN(255, (gint)(widgetColor.alpha*255.0f));
 
 	/* Set converted color at settings */
-	mapping=XFDASHBOARD_CLOCK_VIEW_SETTINGS(g_object_get_data(G_OBJECT(inButton), CONFIGURATION_MAPPING));
+	mapping=(PluginWidgetSettingsMap*)g_object_get_data(G_OBJECT(inButton), CONFIGURATION_MAPPING);
 	if(mapping) g_object_set(G_OBJECT(mapping->settings), mapping->property, &settingsColor, NULL);
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list