diff options
author | Morten Welinder <terra@gnome.org> | 2004-07-24 02:25:48 +0000 |
---|---|---|
committer | Morten Welinder <mortenw@src.gnome.org> | 2004-07-24 02:25:48 +0000 |
commit | 4b9a1f1f9d9bf8cff161f9a57b78a9f5fe950b94 (patch) | |
tree | 40eda675aed43004203c981b4977827fd5058a8b | |
parent | 476dc1d5646b90ed3b9fbe28109da0ca9dd0b3bf (diff) | |
download | pango-4b9a1f1f9d9bf8cff161f9a57b78a9f5fe950b94.tar.gz |
Fix C99ism. I am clearly the last man stuck in the dark age of C.
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.
-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"); |