Commit e0094ea9 authored by Murray Cumming's avatar Murray Cumming

gchar* args of GtkCellRendererText and GtkCellRendererToggle signal handlers are noe const gchar*.

parent 8ec7b9fc
2001-10-31 Murray Cumming <murrayc@usa.net>
* gtk/cellrenderertext.h: "edited" default signal handler
gchar* args are now const.
gtk/cellrenderertoggle.h: "toggled" default signal handler
gchar* arg is now const.
Also changed other signal handlers for "edited" and "toggled" to
have the same signature.
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com> Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
2001-10-31 Murray Cumming <murrayc@usa.net>
* gtk/cellrenderertext.h: "edited" default signal handler
gchar* args are now const.
gtk/cellrenderertoggle.h: "toggled" default signal handler
gchar* arg is now const.
Also changed other signal handlers for "edited" and "toggled" to
have the same signature.
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com> Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
2001-10-31 Murray Cumming <murrayc@usa.net>
* gtk/cellrenderertext.h: "edited" default signal handler
gchar* args are now const.
gtk/cellrenderertoggle.h: "toggled" default signal handler
gchar* arg is now const.
Also changed other signal handlers for "edited" and "toggled" to
have the same signature.
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com> Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
2001-10-31 Murray Cumming <murrayc@usa.net>
* gtk/cellrenderertext.h: "edited" default signal handler
gchar* args are now const.
gtk/cellrenderertoggle.h: "toggled" default signal handler
gchar* arg is now const.
Also changed other signal handlers for "edited" and "toggled" to
have the same signature.
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com> Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
2001-10-31 Murray Cumming <murrayc@usa.net>
* gtk/cellrenderertext.h: "edited" default signal handler
gchar* args are now const.
gtk/cellrenderertoggle.h: "toggled" default signal handler
gchar* arg is now const.
Also changed other signal handlers for "edited" and "toggled" to
have the same signature.
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com> Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
2001-10-31 Murray Cumming <murrayc@usa.net>
* gtk/cellrenderertext.h: "edited" default signal handler
gchar* args are now const.
gtk/cellrenderertoggle.h: "toggled" default signal handler
gchar* arg is now const.
Also changed other signal handlers for "edited" and "toggled" to
have the same signature.
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com> Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
2001-10-31 Murray Cumming <murrayc@usa.net>
* gtk/cellrenderertext.h: "edited" default signal handler
gchar* args are now const.
gtk/cellrenderertoggle.h: "toggled" default signal handler
gchar* arg is now const.
Also changed other signal handlers for "edited" and "toggled" to
have the same signature.
Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com> Tue Oct 30 19:17:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
...@@ -411,7 +411,7 @@ gboolean ...@@ -411,7 +411,7 @@ gboolean
gtk_cell_renderer_activate (GtkCellRenderer *cell, gtk_cell_renderer_activate (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
GtkCellRendererState flags) GtkCellRendererState flags)
...@@ -451,7 +451,7 @@ GtkCellEditable * ...@@ -451,7 +451,7 @@ GtkCellEditable *
gtk_cell_renderer_start_editing (GtkCellRenderer *cell, gtk_cell_renderer_start_editing (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
GtkCellRendererState flags) GtkCellRendererState flags)
......
...@@ -100,7 +100,7 @@ struct _GtkCellRendererClass ...@@ -100,7 +100,7 @@ struct _GtkCellRendererClass
GtkCellEditable *(* start_editing) (GtkCellRenderer *cell, GtkCellEditable *(* start_editing) (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
GtkCellRendererState flags); GtkCellRendererState flags);
...@@ -125,14 +125,14 @@ void gtk_cell_renderer_render (GtkCellRenderer *cell, ...@@ -125,14 +125,14 @@ void gtk_cell_renderer_render (GtkCellRenderer *cell,
gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell, gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
GtkCellRendererState flags); GtkCellRendererState flags);
GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell, GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
GtkCellRendererState flags); GtkCellRendererState flags);
......
...@@ -54,7 +54,7 @@ static void gtk_cell_renderer_text_render (GtkCellRenderer *cell, ...@@ -54,7 +54,7 @@ static void gtk_cell_renderer_text_render (GtkCellRenderer *cell,
static GtkCellEditable *gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell, static GtkCellEditable *gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
GtkCellRendererState flags); GtkCellRendererState flags);
...@@ -1316,7 +1316,7 @@ static void ...@@ -1316,7 +1316,7 @@ static void
gtk_cell_renderer_text_editing_done (GtkCellEditable *entry, gtk_cell_renderer_text_editing_done (GtkCellEditable *entry,
gpointer data) gpointer data)
{ {
gchar *path; const gchar *path;
const gchar *new_text; const gchar *new_text;
path = g_object_get_data (G_OBJECT (entry), GTK_CELL_RENDERER_TEXT_PATH); path = g_object_get_data (G_OBJECT (entry), GTK_CELL_RENDERER_TEXT_PATH);
...@@ -1329,7 +1329,7 @@ static GtkCellEditable * ...@@ -1329,7 +1329,7 @@ static GtkCellEditable *
gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell, gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
GtkCellRendererState flags) GtkCellRendererState flags)
......
...@@ -81,8 +81,8 @@ struct _GtkCellRendererTextClass ...@@ -81,8 +81,8 @@ struct _GtkCellRendererTextClass
GtkCellRendererClass parent_class; GtkCellRendererClass parent_class;
void (* edited) (GtkCellRendererText *cell_renderer_text, void (* edited) (GtkCellRendererText *cell_renderer_text,
gchar *path, const gchar *path,
gchar *new_text); const gchar *new_text);
}; };
GtkType gtk_cell_renderer_text_get_type (void); GtkType gtk_cell_renderer_text_get_type (void);
......
...@@ -49,7 +49,7 @@ static void gtk_cell_renderer_toggle_render (GtkCellRenderer *cel ...@@ -49,7 +49,7 @@ static void gtk_cell_renderer_toggle_render (GtkCellRenderer *cel
static gboolean gtk_cell_renderer_toggle_activate (GtkCellRenderer *cell, static gboolean gtk_cell_renderer_toggle_activate (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
guint flags); guint flags);
...@@ -338,7 +338,7 @@ static gint ...@@ -338,7 +338,7 @@ static gint
gtk_cell_renderer_toggle_activate (GtkCellRenderer *cell, gtk_cell_renderer_toggle_activate (GtkCellRenderer *cell,
GdkEvent *event, GdkEvent *event,
GtkWidget *widget, GtkWidget *widget,
gchar *path, const gchar *path,
GdkRectangle *background_area, GdkRectangle *background_area,
GdkRectangle *cell_area, GdkRectangle *cell_area,
guint flags) guint flags)
...@@ -401,7 +401,7 @@ gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle) ...@@ -401,7 +401,7 @@ gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle)
* gtk_cell_renderer_toggle_set_active(). * gtk_cell_renderer_toggle_set_active().
* *
* Return value: %TRUE if the cell renderer is active. * Return value: %TRUE if the cell renderer is active.
**/
gboolean gboolean
gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle) gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle)
{ {
......
...@@ -52,7 +52,7 @@ struct _GtkCellRendererToggleClass ...@@ -52,7 +52,7 @@ struct _GtkCellRendererToggleClass
GtkCellRendererClass parent_class; GtkCellRendererClass parent_class;
void (* toggled) (GtkCellRendererToggle *cell_renderer_toggle, void (* toggled) (GtkCellRendererToggle *cell_renderer_toggle,
gchar *path); const gchar *path);
}; };
GtkType gtk_cell_renderer_toggle_get_type (void); GtkType gtk_cell_renderer_toggle_get_type (void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment