[gimp] app: use gimp_object_name_collate() when sorting device names
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use gimp_object_name_collate() when sorting device names
- Date: Thu, 9 Dec 2010 20:46:35 +0000 (UTC)
commit 8bc0e569eca3209fe5a679f06ed3b3bcd00bb4cd
Author: Michael Natterer <mitch gimp org>
Date: Thu Dec 9 21:45:04 2010 +0100
app: use gimp_object_name_collate() when sorting device names
app/widgets/gimpdeviceinfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpdeviceinfo.c b/app/widgets/gimpdeviceinfo.c
index 7652627..ee6e8c2 100644
--- a/app/widgets/gimpdeviceinfo.c
+++ b/app/widgets/gimpdeviceinfo.c
@@ -846,7 +846,7 @@ gimp_device_info_compare (GimpDeviceInfo *a,
}
else
{
- return - strcmp (gimp_object_get_name (a),
- gimp_object_get_name (b));
+ return gimp_object_name_collate ((GimpObject *) a,
+ (GimpObject *) b);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]