diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-08-26 19:15:37 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-08-27 04:48:23 +0200 |
commit | 1e5d7c022596b7146638ef8bd74f544725f9bf2b (patch) | |
tree | 61505bd6664441c672463e0d3c085aa199a8dbd8 /gtk/gtkcellrenderertoggle.c | |
parent | c6a44d849424ac77c478d56ff727ebc742d054b0 (diff) | |
download | gtk+-1e5d7c022596b7146638ef8bd74f544725f9bf2b.tar.gz |
Use GtkFooPrivate instead GtkFooPriv
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index 62bbc3d67f..470a061a0a 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -75,7 +75,7 @@ enum { static guint toggle_cell_signals[LAST_SIGNAL] = { 0 }; -struct _GtkCellRendererTogglePriv +struct _GtkCellRendererTogglePrivate { gint indicator_size; @@ -92,11 +92,11 @@ G_DEFINE_TYPE (GtkCellRendererToggle, gtk_cell_renderer_toggle, GTK_TYPE_CELL_RE static void gtk_cell_renderer_toggle_init (GtkCellRendererToggle *celltoggle) { - GtkCellRendererTogglePriv *priv; + GtkCellRendererTogglePrivate *priv; celltoggle->priv = G_TYPE_INSTANCE_GET_PRIVATE (celltoggle, GTK_TYPE_CELL_RENDERER_TOGGLE, - GtkCellRendererTogglePriv); + GtkCellRendererTogglePrivate); priv = celltoggle->priv; priv->activatable = TRUE; @@ -184,7 +184,7 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class) G_TYPE_NONE, 1, G_TYPE_STRING); - g_type_class_add_private (object_class, sizeof (GtkCellRendererTogglePriv)); + g_type_class_add_private (object_class, sizeof (GtkCellRendererTogglePrivate)); } static void @@ -194,7 +194,7 @@ gtk_cell_renderer_toggle_get_property (GObject *object, GParamSpec *pspec) { GtkCellRendererToggle *celltoggle = GTK_CELL_RENDERER_TOGGLE (object); - GtkCellRendererTogglePriv *priv = celltoggle->priv; + GtkCellRendererTogglePrivate *priv = celltoggle->priv; switch (param_id) { @@ -227,7 +227,7 @@ gtk_cell_renderer_toggle_set_property (GObject *object, GParamSpec *pspec) { GtkCellRendererToggle *celltoggle = GTK_CELL_RENDERER_TOGGLE (object); - GtkCellRendererTogglePriv *priv = celltoggle->priv; + GtkCellRendererTogglePrivate *priv = celltoggle->priv; switch (param_id) { @@ -280,7 +280,7 @@ gtk_cell_renderer_toggle_get_size (GtkCellRenderer *cell, gint *width, gint *height) { - GtkCellRendererTogglePriv *priv; + GtkCellRendererTogglePrivate *priv; gint calc_width; gint calc_height; gint xpad, ypad; @@ -332,7 +332,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell, GtkCellRendererState flags) { GtkCellRendererToggle *celltoggle = GTK_CELL_RENDERER_TOGGLE (cell); - GtkCellRendererTogglePriv *priv = celltoggle->priv; + GtkCellRendererTogglePrivate *priv = celltoggle->priv; gint width, height; gint x_offset, y_offset; gint xpad, ypad; @@ -405,7 +405,7 @@ gtk_cell_renderer_toggle_activate (GtkCellRenderer *cell, GdkRectangle *cell_area, GtkCellRendererState flags) { - GtkCellRendererTogglePriv *priv; + GtkCellRendererTogglePrivate *priv; GtkCellRendererToggle *celltoggle; celltoggle = GTK_CELL_RENDERER_TOGGLE (cell); @@ -437,7 +437,7 @@ void gtk_cell_renderer_toggle_set_radio (GtkCellRendererToggle *toggle, gboolean radio) { - GtkCellRendererTogglePriv *priv; + GtkCellRendererTogglePrivate *priv; g_return_if_fail (GTK_IS_CELL_RENDERER_TOGGLE (toggle)); @@ -527,7 +527,7 @@ void gtk_cell_renderer_toggle_set_activatable (GtkCellRendererToggle *toggle, gboolean setting) { - GtkCellRendererTogglePriv *priv; + GtkCellRendererTogglePrivate *priv; g_return_if_fail (GTK_IS_CELL_RENDERER_TOGGLE (toggle)); |