RSS/Atom feed Twitter
Site is read-only, email is disabled

[PATCH] Remove trailing comma from enumerator list

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

[PATCH] Remove trailing comma from enumerator list Tim Harder 21 Aug 22:51
  [PATCH] Remove trailing comma from enumerator list Martin Nordholts 21 Aug 23:01
Tim Harder
2009-08-21 22:51:05 UTC (over 15 years ago)

[PATCH] Remove trailing comma from enumerator list

I ran across an erroneous comma in an enumerator list when building the latest G'MIC plugin [1] using the 2.7.0 release.

I couldn't find any related bug reports or fix for the problem in the latest git tree so I've attached a patch to fix the issue.

Thanks, Tim

[1] http://gmic.sourceforge.net/

From b0a58066836b14135861f13dfc4d86ea86c1169b Mon Sep 17 00:00:00 2001

From: Tim Harder
Date: Fri, 21 Aug 2009 13:49:38 -0700 Subject: [PATCH] Remove trailing comma from enumerator list

--- libgimpbase/gimpbaseenums.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libgimpbase/gimpbaseenums.h b/libgimpbase/gimpbaseenums.h index 40566ca..cf90d5c 100644
--- a/libgimpbase/gimpbaseenums.h
+++ b/libgimpbase/gimpbaseenums.h
@@ -481,7 +481,7 @@ typedef enum
GIMP_TEXT_HINT_STYLE_NONE, /*< desc="None" >*/ GIMP_TEXT_HINT_STYLE_SLIGHT, /*< desc="Slight" >*/ GIMP_TEXT_HINT_STYLE_MEDIUM, /*< desc="Medium" >*/ - GIMP_TEXT_HINT_STYLE_FULL, /*< desc="Full" >*/ + GIMP_TEXT_HINT_STYLE_FULL /*< desc="Full" >*/ } GimpTextHintStyle;

Martin Nordholts
2009-08-21 23:01:21 UTC (over 15 years ago)

[PATCH] Remove trailing comma from enumerator list

On 08/21/2009 10:51 PM, Tim Harder wrote:

I ran across an erroneous comma in an enumerator list when building the latest G'MIC plugin [1] using the 2.7.0 release.

I couldn't find any related bug reports or fix for the problem in the latest git tree so I've attached a patch to fix the issue.

Thanks, I've pushed the patch after fixing formating and adjusting commit message a bit:

commit 27d5164f3c862ef7529734b0c82dbf446452c94e Author: Tim Harder
Date: Fri Aug 21 13:49:38 2009 -0700

libgimpbase: Remove trailing comma from GimpTextHintStyle

libgimpbase/gimpbaseenums.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

/ Martin