projects
/
hildon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make HildonCheckButton derive from GtkToggleButton
[hildon]
/
hildon
/
hildon-check-button.h
diff --git
a/hildon/hildon-check-button.h
b/hildon/hildon-check-button.h
index
6430f13
..
3597303
100644
(file)
--- a/
hildon/hildon-check-button.h
+++ b/
hildon/hildon-check-button.h
@@
-50,15
+50,12
@@
typedef struct _HildonCheckButtonPrivate Hildon
struct _HildonCheckButtonClass
{
struct _HildonCheckButtonClass
{
- GtkButtonClass parent_class;
-
- /* Signal handlers */
- void (* toggled) (HildonCheckButton *button);
+ GtkToggleButtonClass parent_class;
};
struct _HildonCheckButton
{
};
struct _HildonCheckButton
{
- GtkButton parent;
+ GtkToggleButton parent;
/* private */
HildonCheckButtonPrivate *priv;
/* private */
HildonCheckButtonPrivate *priv;
@@
-70,6
+67,7
@@
hildon_check_button_get_type (void) G_GNUC_CONST;
GtkWidget *
hildon_check_button_new (HildonSizeType size);
GtkWidget *
hildon_check_button_new (HildonSizeType size);
+#ifndef HILDON_DISABLE_DEPRECATED
void
hildon_check_button_set_active (HildonCheckButton *button,
gboolean is_active);
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);
void
hildon_check_button_toggled (HildonCheckButton *button);
+#endif
G_END_DECLS
G_END_DECLS