From 3f64137a7937498ea4982edf9c1fb133fe9321e4 Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Mon, 31 Jan 2011 11:06:01 +0000 Subject: [PATCH] docs: Change text on button Modify the text shown on the button to "hello / world" rather than "winkle / pickers". Slightly more sensible. --- doc/cookbook/examples/actors-composite-main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/cookbook/examples/actors-composite-main.c b/doc/cookbook/examples/actors-composite-main.c index 770b8b3d4..a54efbe37 100644 --- a/doc/cookbook/examples/actors-composite-main.c +++ b/doc/cookbook/examples/actors-composite-main.c @@ -17,10 +17,10 @@ clicked (CbButton *button, current_text = cb_button_get_text (button); - if (g_strcmp0 (current_text, "winkle") == 0) - cb_button_set_text (button, "pickers"); + if (g_strcmp0 (current_text, "hello") == 0) + cb_button_set_text (button, "world"); else - cb_button_set_text (button, "winkle"); + cb_button_set_text (button, "hello"); } int @@ -40,7 +40,7 @@ main (int argc, g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); button = cb_button_new (); - cb_button_set_text (CB_BUTTON (button), "winkle"); + cb_button_set_text (CB_BUTTON (button), "hello"); /* the following is equivalent to the two lines above: *