GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit c49a7113 authored by Michael Natterer's avatar Michael Natterer 😴

app: set the device manager's sort_func via g_object_new()

Setting it in init() had it overwritten by NULL because it's a
construct property.
parent ee844c63
......@@ -119,8 +119,6 @@ gimp_device_manager_class_init (GimpDeviceManagerClass *klass)
static void
gimp_device_manager_init (GimpDeviceManager *manager)
gimp_list_set_sort_func (GIMP_LIST (manager),
(GCompareFunc) gimp_device_info_compare);
static void
......@@ -235,6 +233,7 @@ gimp_device_manager_new (Gimp *gimp)
"children-type", GIMP_TYPE_DEVICE_INFO,
"unique-names", FALSE,
"sort-func", gimp_device_info_compare,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment