mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 09:00:55 +00:00
libfwupd: Correctly set the ID ownership when using g_object_set()
Fixes half of https://github.com/hughsie/fwupd/issues/210
This commit is contained in:
parent
f1cc61d2f0
commit
eb0b3ad71a
@ -872,7 +872,7 @@ fwupd_remote_set_property (GObject *obj, guint prop_id,
|
||||
self->enabled = g_value_get_boolean (value);
|
||||
break;
|
||||
case PROP_ID:
|
||||
self->id = g_value_get_string (value);
|
||||
fwupd_remote_set_id (self, g_value_get_string (value));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec);
|
||||
|
Loading…
Reference in New Issue
Block a user