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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
......
......@@ -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)
......
......@@ -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);
......
......@@ -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)
......
......@@ -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);
......
......@@ -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)
{
......
......@@ -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);
......
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