[gtk+/resolution-independence] Remove commas off final entries in enums for gtksize.h



commit b1277f32debf1faa9477fd37947cb136624c72fe
Author: Davyd Madeley <davyd madeley id au>
Date:   Tue Jun 2 21:57:39 2009 +0800

    Remove commas off final entries in enums for gtksize.h
    
    It breaks some compilers
---
 gtk/gtksize.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtk/gtksize.h b/gtk/gtksize.h
index 309cdcb..dad7567 100644
--- a/gtk/gtksize.h
+++ b/gtk/gtksize.h
@@ -78,7 +78,7 @@ typedef enum
 {
   GTK_SIZE_UNIT_PIXEL   = 0,
   GTK_SIZE_UNIT_EM      = 1,
-  GTK_SIZE_UNIT_MM      = 2,
+  GTK_SIZE_UNIT_MM      = 2
 } GtkSizeUnit;
 
 /**
@@ -127,7 +127,7 @@ gchar      *gtk_size_to_string       (GtkSize      size);
  */
 typedef enum
 {
-  GTK_SIZE_ERROR_INVALID_VALUE,
+  GTK_SIZE_ERROR_INVALID_VALUE
 } GtkSizeError;
 
 /* for now, use functions so apps can "opt in" to using resolution



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]