diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | examples/renderdemo.c | 3 |
5 files changed, 22 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-07-23 Morten Welinder <terra@gnome.org> + + * examples/renderdemo.c (parse_ellipsis): Fix C99ism. I am clearly + the last man stuck in the dark age of C. + Tue Jul 20 12:10:42 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c (pango_language_includes_script): diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 02162d92..29dbdb19 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +2004-07-23 Morten Welinder <terra@gnome.org> + + * examples/renderdemo.c (parse_ellipsis): Fix C99ism. I am clearly + the last man stuck in the dark age of C. + Tue Jul 20 12:10:42 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c (pango_language_includes_script): diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 02162d92..29dbdb19 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +2004-07-23 Morten Welinder <terra@gnome.org> + + * examples/renderdemo.c (parse_ellipsis): Fix C99ism. I am clearly + the last man stuck in the dark age of C. + Tue Jul 20 12:10:42 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c (pango_language_includes_script): diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 02162d92..29dbdb19 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +2004-07-23 Morten Welinder <terra@gnome.org> + + * examples/renderdemo.c (parse_ellipsis): Fix C99ism. I am clearly + the last man stuck in the dark age of C. + Tue Jul 20 12:10:42 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c (pango_language_includes_script): diff --git a/examples/renderdemo.c b/examples/renderdemo.c index 78aa4037..b6940380 100644 --- a/examples/renderdemo.c +++ b/examples/renderdemo.c @@ -306,11 +306,12 @@ parse_ellipsis (ArgContext *arg_context, gpointer data) { static GEnumClass *class = NULL; + GEnumValue *value; if (!class) class = g_type_class_ref (PANGO_TYPE_ELLIPSIZE_MODE); - GEnumValue *value = g_enum_get_value_by_nick (class, arg); + value = g_enum_get_value_by_nick (class, arg); if (!value) fail ("--ellipsize option must be one of none/start/middle/end"); |