X-Git-Url: http://git.maemo.org/git/?p=hildon;a=blobdiff_plain;f=hildon%2Fhildon-check-button.h;h=35973038574f1c58b7351079995a5bbaa57f72a1;hp=6430f13ea9fbc7983a2bd12622f278099ec32990;hb=2911cf0dc0242c87a95d2577d54c898ce060873f;hpb=574b608f7d0b945f4654357260d06006510392a4 diff --git a/hildon/hildon-check-button.h b/hildon/hildon-check-button.h index 6430f13..3597303 100644 --- a/hildon/hildon-check-button.h +++ b/hildon/hildon-check-button.h @@ -50,15 +50,12 @@ typedef struct _HildonCheckButtonPrivate Hildon struct _HildonCheckButtonClass { - GtkButtonClass parent_class; - - /* Signal handlers */ - void (* toggled) (HildonCheckButton *button); + GtkToggleButtonClass parent_class; }; struct _HildonCheckButton { - GtkButton parent; + GtkToggleButton parent; /* private */ HildonCheckButtonPrivate *priv; @@ -70,6 +67,7 @@ hildon_check_button_get_type (void) G_GNUC_CONST; GtkWidget * hildon_check_button_new (HildonSizeType size); +#ifndef HILDON_DISABLE_DEPRECATED void hildon_check_button_set_active (HildonCheckButton *button, gboolean is_active); @@ -79,6 +77,7 @@ hildon_check_button_get_active (HildonCheckButton *button); void hildon_check_button_toggled (HildonCheckButton *button); +#endif G_END_DECLS