summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2004-06-08 22:57:27 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-06-08 22:57:27 +0000
commitada41f72df45d6f44270d54bc5da6ccb79570ceb (patch)
tree7b5e274f5f0ddb2ae13ef1e980debc30035b1b0c /docs/examples
parentf543f25b62892e6eef5e0a733941a1e3480e02e2 (diff)
downloadlibcroco-ada41f72df45d6f44270d54bc5da6ccb79570ceb.tar.gz
synchronize with libcroco--mainline--0.6--patch-28.tla-cvs-synch-06-09-2004-0
2004-06-09 Dodji Seketeli <dodji@gnome.org> synchronize with libcroco--mainline--0.6--patch-28.
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/cssom-example-1.c2
-rw-r--r--docs/examples/sac-example-1.c2
-rw-r--r--docs/examples/sac-example-2.c8
-rw-r--r--docs/examples/selection-example-1.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/docs/examples/cssom-example-1.c b/docs/examples/cssom-example-1.c
index a41165e..85079ce 100644
--- a/docs/examples/cssom-example-1.c
+++ b/docs/examples/cssom-example-1.c
@@ -8,7 +8,7 @@
*
*To compile it using gcc, type
*
- *gcc -g -Wall `croco-config --cflags` `croco-config --libs` -o cssom-example-1 cssom-example-1.c
+ *gcc -g -Wall `croco-0.6-config --cflags` `croco-0.6-config --libs` -o cssom-example-1 cssom-example-1.c
*
*Prior to that, you must have compiled and installed libcroco, of course.
*
diff --git a/docs/examples/sac-example-1.c b/docs/examples/sac-example-1.c
index 6e30eaa..6c241e5 100644
--- a/docs/examples/sac-example-1.c
+++ b/docs/examples/sac-example-1.c
@@ -9,7 +9,7 @@
*
*To compile this file, type:
*
- *gcc -g -Wall -o sac-example-1 `croco-config --cflags` `croco-config --libs` sac-example-1.c
+ *gcc -g -Wall -o sac-example-1 `croco-0.6-config --cflags` `croco-0.6-config --libs` sac-example-1.c
*
*Make sure you have compiled and installed libcroco prior to trying to
*compile this file :)
diff --git a/docs/examples/sac-example-2.c b/docs/examples/sac-example-2.c
index a9aa9e4..75eae9e 100644
--- a/docs/examples/sac-example-2.c
+++ b/docs/examples/sac-example-2.c
@@ -20,7 +20,7 @@
*
*To compile this file, type:
*
- *gcc -g -Wall -o sac-example-2 `croco-config --cflags` `croco-config --libs` sac-example-2.c
+ *gcc -g -Wall -o sac-example-2 `croco-0.6-config --cflags` `croco-0.6-config --libs` sac-example-2.c
*
*Make sure you have compiled and installed libcroco prior to trying to
*compile this file :)
@@ -131,7 +131,7 @@ start_selector_cb (CRDocHandler *a_handler,
*/
static void
property_cb (CRDocHandler *a_handler,
- GString *a_name,
+ CRString *a_name,
CRTerm *a_value,
gboolean a_important)
{
@@ -139,11 +139,11 @@ property_cb (CRDocHandler *a_handler,
context = (struct MyFooContext *)a_handler->app_data ;
- if (!context || !a_name || !a_name->str)
+ if (!context || !a_name)
return ;
context->nb_props_per_ruleset ++ ;
- printf ("%s : ", a_name->str) ;
+ printf ("%s : ", cr_string_peek_raw_str (a_name)) ;
cr_term_dump (a_value, stdout) ;
printf ("\n") ;
}
diff --git a/docs/examples/selection-example-1.c b/docs/examples/selection-example-1.c
index 3a6d7c7..49ad5dc 100644
--- a/docs/examples/selection-example-1.c
+++ b/docs/examples/selection-example-1.c
@@ -5,7 +5,7 @@
*
* To compile it using gcc, type
*
- * gcc -g -Wall `croco-config --cflags` `croco-config --libs` -o selection-example-1 selection-example-1.c
+ * gcc -g -Wall `croco-0.6-config --cflags` `croco-0.6-config --libs` -o selection-example-1 selection-example-1.c
*
* Initial author: Stefan Seefeld.
*/