diff options
author | Tim Janik <timj@gtk.org> | 1998-09-03 07:28:37 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-09-03 07:28:37 +0000 |
commit | 0f0d9509c061a1df2a6386e9ddc02ee4a921de26 (patch) | |
tree | fd6a814ccee786532644edf216b01467c70b3502 /gtk/gtkctree.h | |
parent | ebe76c752c982e361c481b743fa195618cc19b52 (diff) | |
download | gtk+-0f0d9509c061a1df2a6386e9ddc02ee4a921de26.tar.gz |
`const' fixups.merge-to-themes-2-4
Thu Sep 3 07:16:54 1998 Tim Janik <timj@gtk.org>
* gtk/gtkctree.h:
* gtk/gtkctree.c: `const' fixups.
* gtk/gtkclist.h:
* gtk/gtkclist.c: `const' fixups and some coding style adaptions.
* gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
if it is passed as NULL.
Diffstat (limited to 'gtk/gtkctree.h')
-rw-r--r-- | gtk/gtkctree.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkctree.h b/gtk/gtkctree.h index 5854e57b96..01774921c6 100644 --- a/gtk/gtkctree.h +++ b/gtk/gtkctree.h @@ -293,7 +293,7 @@ void gtk_ctree_real_select_recursive (GtkCTree *ctree, void gtk_ctree_node_set_text (GtkCTree *ctree, GtkCTreeNode *node, gint column, - gchar *text); + const gchar *text); void gtk_ctree_node_set_pixmap (GtkCTree *ctree, GtkCTreeNode *node, gint column, @@ -302,13 +302,13 @@ void gtk_ctree_node_set_pixmap (GtkCTree *ctree, void gtk_ctree_node_set_pixtext (GtkCTree *ctree, GtkCTreeNode *node, gint column, - gchar *text, + const gchar *text, guint8 spacing, GdkPixmap *pixmap, GdkBitmap *mask); void gtk_ctree_set_node_info (GtkCTree *ctree, GtkCTreeNode *node, - gchar *text, + const gchar *text, guint8 spacing, GdkPixmap *pixmap_closed, GdkBitmap *mask_closed, @@ -388,7 +388,7 @@ void gtk_ctree_set_use_drag_icons (GtkCTree *ctree, void gtk_ctree_set_line_style (GtkCTree *ctree, GtkCTreeLineStyle line_style); void gtk_ctree_set_drag_compare_func (GtkCTree *ctree, - GtkCTreeCompareDragFunc cmp_func); + GtkCTreeCompareDragFunc cmp_func); /*********************************************************** * Tree sorting functions * |