aboutsummaryrefslogtreecommitdiff
path: root/examples/hildon-check-button-example.c
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2008-09-11 13:38:33 +0000
committerAlberto Garcia <agarcia@igalia.com>2008-09-11 13:38:33 +0000
commit9e367a54c50ba7440de00bbb559dd0ff5213d464 (patch)
treef9eab68845d624c62028178fa0fb2266630e5089 /examples/hildon-check-button-example.c
parentc09850800e5d761c19bc5c3de247637529d14253 (diff)
2008-09-11 Alberto Garcia <agarcia@igalia.com>
* src/hildon-check-button.h * src/hildon-check-button.c (hildon_check_button_set_label, hildon_check_button_get_label) * examples/hildon-check-button-example.c (button_clicked_cb): Removed deprecated methods.
Diffstat (limited to 'examples/hildon-check-button-example.c')
-rw-r--r--examples/hildon-check-button-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hildon-check-button-example.c b/examples/hildon-check-button-example.c
index f2e8863..062c0ce 100644
--- a/examples/hildon-check-button-example.c
+++ b/examples/hildon-check-button-example.c
@@ -27,7 +27,7 @@ button_clicked_cb (GtkButton *button,
GtkLabel *label)
{
gboolean active = hildon_check_button_get_active (button);
- const gchar *labeltext = hildon_check_button_get_label (button);
+ const gchar *labeltext = gtk_button_get_label (button);
char *text = g_strconcat (labeltext, active ? " (checked)" : " (unchecked)", NULL);
gtk_label_set_text (label, text);
g_free (text);