diff options
author | Murray Cumming <murrayc@src.gnome.org> | 2001-10-31 10:27:17 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2001-10-31 10:27:17 +0000 |
commit | e0094ea92ed13baa36e92396bdef67567d8d6647 (patch) | |
tree | 145d8aac18d04eeb6b14607c1430cadcdff4b6c1 /gtk | |
parent | 8ec7b9fcff6d25437eb48eccedfc7eebffac330d (diff) | |
download | gtk+-e0094ea92ed13baa36e92396bdef67567d8d6647.tar.gz |
gchar* args of GtkCellRendererText and GtkCellRendererToggle signal handlers are noe const gchar*.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkcellrenderer.c | 4 | ||||
-rw-r--r-- | gtk/gtkcellrenderer.h | 6 | ||||
-rw-r--r-- | gtk/gtkcellrenderertext.c | 6 | ||||
-rw-r--r-- | gtk/gtkcellrenderertext.h | 4 | ||||
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 6 | ||||
-rw-r--r-- | gtk/gtkcellrenderertoggle.h | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index 651dc7f7a8..e35ef4e472 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -411,7 +411,7 @@ gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags) @@ -451,7 +451,7 @@ GtkCellEditable * gtk_cell_renderer_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags) diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 2468d735af..7bfe468854 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -100,7 +100,7 @@ struct _GtkCellRendererClass GtkCellEditable *(* start_editing) (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); @@ -125,14 +125,14 @@ void gtk_cell_renderer_render (GtkCellRenderer *cell, gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 2bf054b503..dbebb89707 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -54,7 +54,7 @@ static void gtk_cell_renderer_text_render (GtkCellRenderer *cell, static GtkCellEditable *gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); @@ -1316,7 +1316,7 @@ static void gtk_cell_renderer_text_editing_done (GtkCellEditable *entry, gpointer data) { - gchar *path; + const gchar *path; const gchar *new_text; path = g_object_get_data (G_OBJECT (entry), GTK_CELL_RENDERER_TEXT_PATH); @@ -1329,7 +1329,7 @@ static GtkCellEditable * gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags) diff --git a/gtk/gtkcellrenderertext.h b/gtk/gtkcellrenderertext.h index dfc4f8b3db..9d1338f872 100644 --- a/gtk/gtkcellrenderertext.h +++ b/gtk/gtkcellrenderertext.h @@ -81,8 +81,8 @@ struct _GtkCellRendererTextClass GtkCellRendererClass parent_class; void (* edited) (GtkCellRendererText *cell_renderer_text, - gchar *path, - gchar *new_text); + const gchar *path, + const gchar *new_text); }; GtkType gtk_cell_renderer_text_get_type (void); diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index 6a12dd41c5..0a19e71fa9 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -49,7 +49,7 @@ static void gtk_cell_renderer_toggle_render (GtkCellRenderer *cel static gboolean gtk_cell_renderer_toggle_activate (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, guint flags); @@ -338,7 +338,7 @@ static gint gtk_cell_renderer_toggle_activate (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, - gchar *path, + const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, guint flags) @@ -401,7 +401,7 @@ gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle) * gtk_cell_renderer_toggle_set_active(). * * Return value: %TRUE if the cell renderer is active. - + **/ gboolean gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle) { diff --git a/gtk/gtkcellrenderertoggle.h b/gtk/gtkcellrenderertoggle.h index db166112fb..a1f1b69f3e 100644 --- a/gtk/gtkcellrenderertoggle.h +++ b/gtk/gtkcellrenderertoggle.h @@ -52,7 +52,7 @@ struct _GtkCellRendererToggleClass GtkCellRendererClass parent_class; void (* toggled) (GtkCellRendererToggle *cell_renderer_toggle, - gchar *path); + const gchar *path); }; GtkType gtk_cell_renderer_toggle_get_type (void); |