diff options
author | jaycox <jaycox@src.gnome.org> | 1998-11-23 13:53:25 +0000 |
---|---|---|
committer | jaycox <jaycox@src.gnome.org> | 1998-11-23 13:53:25 +0000 |
commit | 47b3584d36b8824f488c283052793b04208a0275 (patch) | |
tree | a320b8030afdc19caee40a02f1652f3b25fc1062 /gtk/gtkclist.h | |
parent | 72bd1c58592cdd031eacf9c614a370a7028f21fc (diff) | |
download | gtk+-47b3584d36b8824f488c283052793b04208a0275.tar.gz |
Modified Files: gtkclist.c gtkclist.h gtkctree.c gtkctree.h gtknotebook.c
Modified Files:
gtkclist.c gtkclist.h gtkctree.c gtkctree.h gtknotebook.c
gtknotebook.h gtkrc.c gtkrc.h
add const in some useful places
Diffstat (limited to 'gtk/gtkclist.h')
-rw-r--r-- | gtk/gtkclist.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkclist.h b/gtk/gtkclist.h index 5ca8f5af2f..2323b3481b 100644 --- a/gtk/gtkclist.h +++ b/gtk/gtkclist.h @@ -378,12 +378,12 @@ GtkType gtk_clist_get_type (void); /* constructors useful for gtk-- wrappers */ void gtk_clist_construct (GtkCList *clist, gint columns, - gchar *titles[]); + const gchar *titles[]); /* create a new GtkCList */ GtkWidget* gtk_clist_new (gint columns); GtkWidget* gtk_clist_new_with_titles (gint columns, - gchar *titles[]); + const gchar *titles[]); /* set adjustments of clist */ void gtk_clist_set_hadjustment (GtkCList *clist, @@ -604,17 +604,17 @@ gboolean gtk_clist_get_selectable (GtkCList *clist, /* prepend/append returns the index of the row you just added, * making it easier to append and modify a row */ -gint gtk_clist_prepend (GtkCList *clist, - gchar *text[]); -gint gtk_clist_append (GtkCList *clist, - gchar *text[]); +gint gtk_clist_prepend (GtkCList *clist, + const gchar *text[]); +gint gtk_clist_append (GtkCList *clist, + const gchar *text[]); /* inserts a row at index row and returns the row where it was * actually inserted (may be different from "row" in auto_sort mode) */ -gint gtk_clist_insert (GtkCList *clist, - gint row, - gchar *text[]); +gint gtk_clist_insert (GtkCList *clist, + gint row, + const gchar *text[]); /* removes row at index row */ void gtk_clist_remove (GtkCList *clist, |