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
This commit is contained in:
jaycox
1998-11-23 13:53:25 +00:00
parent 72bd1c5859
commit 47b3584d36
8 changed files with 36 additions and 36 deletions

View File

@ -937,7 +937,7 @@ gtk_clist_init (GtkCList *clist)
void
gtk_clist_construct (GtkCList *clist,
gint columns,
gchar *titles[])
const gchar *titles[])
{
g_return_if_fail (clist != NULL);
g_return_if_fail (GTK_IS_CLIST (clist));
@ -1008,7 +1008,7 @@ gtk_clist_new (gint columns)
GtkWidget*
gtk_clist_new_with_titles (gint columns,
gchar *titles[])
const gchar *titles[])
{
GtkWidget *widget;
@ -2522,8 +2522,8 @@ cell_size_request (GtkCList *clist,
* gtk_clist_clear
*/
gint
gtk_clist_prepend (GtkCList *clist,
gchar *text[])
gtk_clist_prepend (GtkCList *clist,
const gchar *text[])
{
g_return_val_if_fail (clist != NULL, -1);
g_return_val_if_fail (GTK_IS_CLIST (clist), -1);
@ -2533,8 +2533,8 @@ gtk_clist_prepend (GtkCList *clist,
}
gint
gtk_clist_append (GtkCList *clist,
gchar *text[])
gtk_clist_append (GtkCList *clist,
const gchar *text[])
{
g_return_val_if_fail (clist != NULL, -1);
g_return_val_if_fail (GTK_IS_CLIST (clist), -1);
@ -2544,9 +2544,9 @@ gtk_clist_append (GtkCList *clist,
}
gint
gtk_clist_insert (GtkCList *clist,
gint row,
gchar *text[])
gtk_clist_insert (GtkCList *clist,
gint row,
const gchar *text[])
{
g_return_val_if_fail (clist != NULL, -1);
g_return_val_if_fail (GTK_IS_CLIST (clist), -1);