[gnome-control-center/benzea/fix-color-crash: 180/180] color: Fix order of arguments to gcm_prefs_device_changed_cb
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/benzea/fix-color-crash: 180/180] color: Fix order of arguments to gcm_prefs_device_changed_cb
- Date: Tue, 18 Aug 2020 21:00:39 +0000 (UTC)
commit dd2ecbfa9df3c85712769a3ea33252b9851e6dcc
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 c5933f563..35c78b295 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]