summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
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)
{