summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-13 01:23:42 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-13 01:23:42 +0000
commit72ecdb5ce9b57abc4eec22b8ec2cb99c0e5cd183 (patch)
treee43c125309a54ce8c0c01706b5e725886a38e902 /gtk/gtkfilesel.c
parent829c6708f29d27e6e63dab8f93e41ba4b15e925e (diff)
downloadgtk+-72ecdb5ce9b57abc4eec22b8ec2cb99c0e5cd183.tar.gz
Const warning fix.
Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (cmpl_completion_fullname): Const warning fix.
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index a92001f998..2a11d0fedf 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -312,7 +312,7 @@ static gint cmpl_last_valid_char (CompletionState* cmpl_state)
/* When the user selects a non-directory, call cmpl_completion_fullname
* to get the full name of the selected file.
*/
-static gchar* cmpl_completion_fullname (const gchar*, CompletionState* cmpl_state);
+static const gchar* cmpl_completion_fullname (const gchar*, CompletionState* cmpl_state);
/* Directory operations. */
@@ -2515,7 +2515,7 @@ cmpl_last_valid_char (CompletionState *cmpl_state)
return cmpl_state->last_valid_char;
}
-static gchar*
+static const gchar*
cmpl_completion_fullname (const gchar *text,
CompletionState *cmpl_state)
{