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
This commit is contained in:
Benjamin Berg 2020-08-18 14:10:21 +02:00 committed by Robert Ancell
parent dcf68386f3
commit dd2ecbfa9d

View file

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