diff options
author | Benjamin Berg <bberg@redhat.com> | 2020-08-18 14:10:21 +0200 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2020-08-18 21:00:36 +0000 |
commit | dd2ecbfa9df3c85712769a3ea33252b9851e6dcc (patch) | |
tree | 43d7ebd3407d6b2c9060c91473ca5ed03e2277e3 | |
parent | dcf68386f39c4d8e1f368c04bd1ea73359b499e7 (diff) | |
download | gnome-control-center-dd2ecbfa9df3c85712769a3ea33252b9851e6dcc.tar.gz |
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
-rw-r--r-- | panels/color/cc-color-panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |