diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-26 20:17:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-26 20:17:15 -0400 |
commit | c1cc94b08bef8437b8b8f9a1d1048e8fdc308308 (patch) | |
tree | 394b1b579c8370040e82936f9ec668ca94226628 /gtk/gtkcellrenderertoggle.c | |
parent | ebc2bb9a2fc450bc1623b5279d1556e8cdfc6fb1 (diff) | |
download | gtk+-c1cc94b08bef8437b8b8f9a1d1048e8fdc308308.tar.gz |
cell renderer toggle: Make final
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index f79b97e2d4..b1f6fc0b69 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -90,6 +90,25 @@ enum { static guint toggle_cell_signals[LAST_SIGNAL] = { 0 }; +typedef struct _GtkCellRendererTogglePrivate GtkCellRendererTogglePrivate; +typedef struct _GtkCellRendererToggleClass GtkCellRendererToggleClass; + +struct _GtkCellRendererToggle +{ + GtkCellRenderer parent; + + /*< private >*/ + GtkCellRendererTogglePrivate *priv; +}; + +struct _GtkCellRendererToggleClass +{ + GtkCellRendererClass parent_class; + + void (* toggled) (GtkCellRendererToggle *cell, + const char *path); +}; + struct _GtkCellRendererTogglePrivate { guint active : 1; |