summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2004-05-31 20:34:34 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-05-31 20:34:34 +0000
commitf543f25b62892e6eef5e0a733941a1e3480e02e2 (patch)
tree5eb4d0aedb173153477b218fe6b29f6c24ee0f94
parenta9723575a968366bd70f24572d675e6a37947a59 (diff)
downloadlibcroco-f543f25b62892e6eef5e0a733941a1e3480e02e2.tar.gz
synchronized with mlview--mainline--0.6--patch-26:
2004-05-31 Dodji Seketeli <dodji@gnome.org> synchronized with mlview--mainline--0.6--patch-26: * docs/examples/selection-example-1.c: (print_properties_real): fix some ansi C compilation errors.
-rw-r--r--ChangeLog6
-rw-r--r--docs/examples/selection-example-1.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c4f585..8fcca1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-31 Dodji Seketeli <dodji@gnome.org>
+
+ * docs/examples/selection-example-1.c:
+ (print_properties_real):
+ fix some ansi C compilation errors.
+
2004-05-29 Dodji Seketeli <dodji@gnome.org>
* tests/test-functional-notation.sh,tests/test-inputs/functional-notation.css,
diff --git a/docs/examples/selection-example-1.c b/docs/examples/selection-example-1.c
index 3fb9dfe..3a6d7c7 100644
--- a/docs/examples/selection-example-1.c
+++ b/docs/examples/selection-example-1.c
@@ -127,9 +127,10 @@ print_properties_real (CRPropList *proplist)
CRPropList *cur_pair = NULL ;
for (cur_pair = proplist ; cur_pair ;
- cur_pair= cr_prop_list_get_next (cur_pair)) {
- decl = NULL ;
+ cur_pair= cr_prop_list_get_next (cur_pair)) {
gchar *str = NULL ;
+ decl = NULL ;
+
cr_prop_list_get_decl (cur_pair, &decl) ;
if (decl) {
str = cr_declaration_to_string (decl, 0) ;