[Gimp-developer] [PATCH] Remove trailing comma from enumerator list

2009-08-21 Thread Tim Harder
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 radher...@gmail.com
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;
 
 
-- 
1.6.4

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] [PATCH] Remove trailing comma from enumerator list

2009-08-21 Thread Martin Nordholts
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 radher...@gmail.com
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

-- 

My GIMP Blog:
http://www.chromecode.com/
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer