[gnome-control-center] color: Fix compilation warning



commit 1ca1c883f2ec6339a00c056ac894753e2819882d
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 25 12:32:03 2014 +0200

    color: Fix compilation warning

 panels/color/cc-color-panel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index 7d6abbf..c246ebe 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]