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/gtkcellrendereraccel.c | |
parent | c6a44d849424ac77c478d56ff727ebc742d054b0 (diff) | |
download | gtk+-1e5d7c022596b7146638ef8bd74f544725f9bf2b.tar.gz |
Use GtkFooPrivate instead GtkFooPriv
Diffstat (limited to 'gtk/gtkcellrendereraccel.c')
-rw-r--r-- | gtk/gtkcellrendereraccel.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c index 2b8f7dbb03..b5f58574f1 100644 --- a/gtk/gtkcellrendereraccel.c +++ b/gtk/gtkcellrendereraccel.c @@ -71,7 +71,7 @@ enum { PROP_ACCEL_MODE }; -struct _GtkCellRendererAccelPriv +struct _GtkCellRendererAccelPrivate { GtkCellRendererAccelMode accel_mode; @@ -99,7 +99,7 @@ gtk_cell_renderer_accel_init (GtkCellRendererAccel *cell_accel) cell_accel->priv = G_TYPE_INSTANCE_GET_PRIVATE (cell_accel, GTK_TYPE_CELL_RENDERER_ACCEL, - GtkCellRendererAccelPriv); + GtkCellRendererAccelPrivate); text = convert_keysym_state_to_string (cell_accel, 0, 0, 0); g_object_set (cell_accel, "text", text, NULL); @@ -234,7 +234,7 @@ gtk_cell_renderer_accel_class_init (GtkCellRendererAccelClass *cell_accel_class) G_TYPE_NONE, 1, G_TYPE_STRING); - g_type_class_add_private (cell_accel_class, sizeof (GtkCellRendererAccelPriv)); + g_type_class_add_private (cell_accel_class, sizeof (GtkCellRendererAccelPrivate)); } @@ -259,7 +259,7 @@ convert_keysym_state_to_string (GtkCellRendererAccel *accel, GdkModifierType mask, guint keycode) { - GtkCellRendererAccelPriv *priv = accel->priv; + GtkCellRendererAccelPrivate *priv = accel->priv; if (keysym == 0 && keycode == 0) /* This label is displayed in a treeview cell displaying @@ -307,7 +307,7 @@ gtk_cell_renderer_accel_get_property (GObject *object, GValue *value, GParamSpec *pspec) { - GtkCellRendererAccelPriv *priv = GTK_CELL_RENDERER_ACCEL (object)->priv; + GtkCellRendererAccelPrivate *priv = GTK_CELL_RENDERER_ACCEL (object)->priv; switch (param_id) { @@ -339,7 +339,7 @@ gtk_cell_renderer_accel_set_property (GObject *object, GParamSpec *pspec) { GtkCellRendererAccel *accel = GTK_CELL_RENDERER_ACCEL (object); - GtkCellRendererAccelPriv *priv = accel->priv; + GtkCellRendererAccelPrivate *priv = accel->priv; gboolean changed = FALSE; switch (param_id) @@ -407,7 +407,7 @@ gtk_cell_renderer_accel_get_size (GtkCellRenderer *cell, gint *height) { - GtkCellRendererAccelPriv *priv = GTK_CELL_RENDERER_ACCEL (cell)->priv; + GtkCellRendererAccelPrivate *priv = GTK_CELL_RENDERER_ACCEL (cell)->priv; GtkRequisition requisition; if (priv->sizing_label == NULL) @@ -430,7 +430,7 @@ grab_key_callback (GtkWidget *widget, GdkEventKey *event, GtkCellRendererAccel *accel) { - GtkCellRendererAccelPriv *priv = accel->priv; + GtkCellRendererAccelPrivate *priv = accel->priv; GdkModifierType accel_mods = 0; guint accel_key; gchar *path; @@ -525,7 +525,7 @@ static void ungrab_stuff (GtkWidget *widget, GtkCellRendererAccel *accel) { - GtkCellRendererAccelPriv *priv = accel->priv; + GtkCellRendererAccelPrivate *priv = accel->priv; gtk_device_grab_remove (priv->grab_widget, priv->grab_pointer); gdk_device_ungrab (priv->grab_keyboard, GDK_CURRENT_TIME); @@ -579,7 +579,7 @@ gtk_cell_renderer_accel_start_editing (GtkCellRenderer *cell, GdkRectangle *cell_area, GtkCellRendererState flags) { - GtkCellRendererAccelPriv *priv; + GtkCellRendererAccelPrivate *priv; GtkCellRendererText *celltext; GtkCellRendererAccel *accel; GtkStyle *style; |