[gimp/soc-2011-gimpunitentry: 9/68] GimpUnitEntry: small fix for test-unitentry
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-gimpunitentry: 9/68] GimpUnitEntry: small fix for test-unitentry
- Date: Fri, 13 Sep 2013 19:54:44 +0000 (UTC)
commit 4dc2544e69f625cc29fc9901678595813cec0dd5
Author: Enrico Schröder <enni schroeder gmail com>
Date: Mon Jun 6 17:56:37 2011 +0200
GimpUnitEntry: small fix for test-unitentry
libgimpwidgets/test-unitentry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/test-unitentry.c b/libgimpwidgets/test-unitentry.c
index 030648a..df7ea46 100644
--- a/libgimpwidgets/test-unitentry.c
+++ b/libgimpwidgets/test-unitentry.c
@@ -46,8 +46,8 @@ create_interface(void)
gimp_unit_entry_table_add_label (entryTable, GIMP_UNIT_PIXEL);
/* set some default values */
- a = gimp_unit_entry_table_get_entry (entryTable, 0);
- b = gimp_unit_entry_table_get_entry (entryTable, 1);
+ a = gimp_unit_entry_table_get_entry (entryTable, "width");
+ b = gimp_unit_entry_table_get_entry (entryTable, "height");
gimp_unit_adjustment_set_value (gimp_unit_entry_get_adjustment (a), 20);
gimp_unit_adjustment_set_value (gimp_unit_entry_get_adjustment (b), 20);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]