Const warning fix.

Thu Dec 12 20:07:25 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (cmpl_completion_fullname): Const
        warning fix.
This commit is contained in:
Owen Taylor
2002-12-13 01:23:42 +00:00
committed by Owen Taylor
parent 829c6708f2
commit 72ecdb5ce9
7 changed files with 32 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (cmpl_completion_fullname): Const
warning fix.
Thu Dec 12 19:51:45 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (open_new_dir): Include "."

View File

@@ -1,3 +1,8 @@
Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (cmpl_completion_fullname): Const
warning fix.
Thu Dec 12 19:51:45 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (open_new_dir): Include "."

View File

@@ -1,3 +1,8 @@
Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (cmpl_completion_fullname): Const
warning fix.
Thu Dec 12 19:51:45 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (open_new_dir): Include "."

View File

@@ -1,3 +1,8 @@
Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (cmpl_completion_fullname): Const
warning fix.
Thu Dec 12 19:51:45 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (open_new_dir): Include "."

View File

@@ -1,3 +1,8 @@
Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (cmpl_completion_fullname): Const
warning fix.
Thu Dec 12 19:51:45 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (open_new_dir): Include "."

View File

@@ -1,3 +1,8 @@
Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (cmpl_completion_fullname): Const
warning fix.
Thu Dec 12 19:51:45 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (open_new_dir): Include "."

View File

@@ -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)
{