color: Fix compilation warning

This commit is contained in:
Bastien Nocera 2014-06-25 12:32:03 +02:00
parent 0759090c72
commit 1ca1c883f2

View file

@ -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)