diff options
author | Michael Natterer <mitch@imendio.com> | 2008-01-25 09:30:40 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-01-25 09:30:40 +0000 |
commit | a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646 (patch) | |
tree | b998c156b64284b009afcdf02107db6f03a1230e /gtk/gtktreeviewcolumn.c | |
parent | 594b710214c1e6bfe4724d01b49c0a1cb76b8568 (diff) | |
download | gtk+-a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646.tar.gz |
gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h
2008-01-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.h
* gtk/gtkcellrenderer.h
* gtk/gtkimcontext.h
* gtk/gtkstyle.h
* gtk/gtktoolbar.h
* gtk/gtktooltip.h
* gtk/gtktreeprivate.h
* gtk/gtktreeviewcolumn.h
* gtk/gtkwidget.h: add const to constant structs which are passed
into GTK+. Also add some forgotten const for const strings.
* gtk/gtkbutton.c
* gtk/gtkcellrenderer.c
* gtk/gtkimcontext.c
* gtk/gtkstyle.c
* gtk/gtktoolbar.c
* gtk/gtktooltip.c
* gtk/gtktreeview.c
* gtk/gtktreeviewcolumn.c
* gtk/gtkwidget.c: changed accordingly.
svn path=/trunk/; revision=19399
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; |