diff options
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 70dfd24258..bd781066db 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -2568,12 +2568,12 @@ gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column, * primarily by the #GtkTreeView. **/ void -gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column, - GdkRectangle *cell_area, - gint *x_offset, - gint *y_offset, - gint *width, - gint *height) +gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height) { GList *list; gboolean first_cell = TRUE; @@ -2635,11 +2635,11 @@ enum { static gboolean gtk_tree_view_column_cell_process_action (GtkTreeViewColumn *tree_column, GdkWindow *window, - GdkRectangle *background_area, - GdkRectangle *cell_area, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, guint flags, gint action, - GdkRectangle *expose_area, /* RENDER */ + const GdkRectangle *expose_area, /* RENDER */ GdkRectangle *focus_rectangle, /* FOCUS */ GtkCellEditable **editable_widget, /* EVENT */ GdkEvent *event, /* EVENT */ @@ -3113,12 +3113,12 @@ gtk_tree_view_column_cell_process_action (GtkTreeViewColumn *tree_column, * #GtkTreeView. **/ void -_gtk_tree_view_column_cell_render (GtkTreeViewColumn *tree_column, - GdkWindow *window, - GdkRectangle *background_area, - GdkRectangle *cell_area, - GdkRectangle *expose_area, - guint flags) +_gtk_tree_view_column_cell_render (GtkTreeViewColumn *tree_column, + GdkWindow *window, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + const GdkRectangle *expose_area, + guint flags) { g_return_if_fail (GTK_IS_TREE_VIEW_COLUMN (tree_column)); g_return_if_fail (background_area != NULL); @@ -3140,8 +3140,8 @@ _gtk_tree_view_column_cell_event (GtkTreeViewColumn *tree_column, GtkCellEditable **editable_widget, GdkEvent *event, gchar *path_string, - GdkRectangle *background_area, - GdkRectangle *cell_area, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, guint flags) { g_return_val_if_fail (GTK_IS_TREE_VIEW_COLUMN (tree_column), FALSE); @@ -3159,10 +3159,10 @@ _gtk_tree_view_column_cell_event (GtkTreeViewColumn *tree_column, } void -_gtk_tree_view_column_get_focus_area (GtkTreeViewColumn *tree_column, - GdkRectangle *background_area, - GdkRectangle *cell_area, - GdkRectangle *focus_area) +_gtk_tree_view_column_get_focus_area (GtkTreeViewColumn *tree_column, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GdkRectangle *focus_area) { gtk_tree_view_column_cell_process_action (tree_column, NULL, @@ -3425,12 +3425,12 @@ _gtk_tree_view_column_cell_focus (GtkTreeViewColumn *tree_column, } void -_gtk_tree_view_column_cell_draw_focus (GtkTreeViewColumn *tree_column, - GdkWindow *window, - GdkRectangle *background_area, - GdkRectangle *cell_area, - GdkRectangle *expose_area, - guint flags) +_gtk_tree_view_column_cell_draw_focus (GtkTreeViewColumn *tree_column, + GdkWindow *window, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + const GdkRectangle *expose_area, + guint flags) { gint focus_line_width; GtkStateType cell_state; |