[gimp/soc-2012-unified-transformation: 44/52] transformtool: Use G_N_ELEMENTS instead of hardcoding 13 here
- From: Mikael Magnusson <mikachu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2012-unified-transformation: 44/52] transformtool: Use G_N_ELEMENTS instead of hardcoding 13 here
- Date: Sat, 18 Aug 2012 17:31:17 +0000 (UTC)
commit 40a2ecbe44c31f90e74fc9d2165771b1702b89b8
Author: Mikael Magnusson <mikachu src gnome org>
Date: Mon Aug 13 17:57:25 2012 +0200
transformtool: Use G_N_ELEMENTS instead of hardcoding 13 here
app/tools/gimptransformoptions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimptransformoptions.c b/app/tools/gimptransformoptions.c
index 6c74311..883e091 100644
--- a/app/tools/gimptransformoptions.c
+++ b/app/tools/gimptransformoptions.c
@@ -497,7 +497,7 @@ gimp_transform_options_gui (GimpToolOptions *tool_options)
gchar *label;
gint i;
- for (i = 0; i < 13; i++)
+ for (i = 0; i < G_N_ELEMENTS (opt_list); i++)
{
label = g_strdup_printf (opt_list[i].desc,
gimp_get_mod_string (opt_list[i].mod));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]