[gnome-control-center/benzea/fix-color-crash] color: Fix order of arguments to gcm_prefs_device_changed_cb
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/benzea/fix-color-crash] color: Fix order of arguments to gcm_prefs_device_changed_cb
- Date: Tue, 18 Aug 2020 12:12:39 +0000 (UTC)
commit 34690ea84e7fa083725e2d6e9676fde7c1c66cbf
Author: Benjamin Berg <bberg redhat com>
Date: Tue Aug 18 14:10:21 2020 +0200
color: Fix order of arguments to gcm_prefs_device_changed_cb
Commit f1893b8e8 (color: Connect signals with g_signal_connect_object
in swapped form) changed the connect call to use G_CONNECT_SWAPPED, but
it did not change the order of the arguments for the
gcm_prefs_device_changed_cb function.
Fixes: #1082
panels/color/cc-color-panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index 8d33ed37d..bca3b8658 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -1525,7 +1525,7 @@ gcm_prefs_find_widget_by_object_path (GList *list,
}
static void
-gcm_prefs_device_changed_cb (CdDevice *device, CcColorPanel *prefs)
+gcm_prefs_device_changed_cb (CcColorPanel *prefs, CdDevice *device)
{
CdDevice *device_tmp;
CdProfile *profile_tmp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]