From 1ca1c883f2ec6339a00c056ac894753e2819882d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 25 Jun 2014 12:32:03 +0200 Subject: [PATCH] color: Fix compilation warning --- panels/color/cc-color-panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c index 7d6abbfc3..c246ebe0a 100644 --- a/panels/color/cc-color-panel.c +++ b/panels/color/cc-color-panel.c @@ -1116,7 +1116,7 @@ gcm_prefs_device_profile_enable_cb (GtkWidget *widget, CcColorPanel *prefs) cd_device_make_profile_default (priv->current_device, profile, priv->cancellable, - gcm_prefs_make_profile_default_cb, + (GAsyncReadyCallback) gcm_prefs_make_profile_default_cb, prefs); } @@ -1266,7 +1266,7 @@ gcm_prefs_button_assign_ok_cb (GtkWidget *widget, CcColorPanel *prefs) cd_device_make_profile_default (priv->current_device, profile, priv->cancellable, - gcm_prefs_make_profile_default_cb, + (GAsyncReadyCallback) gcm_prefs_make_profile_default_cb, prefs); out: if (profile != NULL)