/* update the UI */
colord_update_ui_from_settings (printer);
+
+ g_object_unref (printer);
}
static void
cd_profile_connect (printer->colord_profile,
printer->colord_cancellable,
colord_client_profile_connect_cb,
- printer);
+ g_object_ref (printer));
out:
/* update the UI */
colord_update_ui_from_settings (printer);
+
+ g_object_unref (printer);
}
void
(const gchar **) qualifiers,
printer->colord_cancellable,
colord_client_device_get_profile_for_qualifiers_cb,
- printer);
+ g_object_ref (printer));
/* save for the future */
g_free (printer->colord_qualifier);
out:
/* update the UI */
colord_update_ui_from_settings (printer);
+
+ g_object_unref (printer);
}
static void
cd_device_connect (printer->colord_device,
printer->colord_cancellable,
colord_client_device_connect_cb,
- printer);
+ g_object_ref (printer));
out:
/* update the UI */
colord_update_ui_from_settings (printer);
+
+ g_object_unref (printer);
}
static void
colord_device_id,
printer->colord_cancellable,
colord_client_find_device_cb,
- printer);
+ g_object_ref (printer));
out:
g_free (colord_device_id);
/* refresh the device */
colord_update_device (printer);
+
+ g_object_unref (printer);
}
#endif
cd_client_connect (printer->colord_client,
printer->colord_cancellable,
colord_client_connect_cb,
- printer);
+ g_object_ref (printer));
}
#endif
return printer;