changeset 35960:13d09ba17e97

Be more precise about type.
author ib
date Sun, 24 Mar 2013 15:12:16 +0000
parents acec130e2ab2
children 373c1104023f
files gui/dialog/fileselect.c
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/fileselect.c	Sun Mar 24 14:16:34 2013 +0000
+++ b/gui/dialog/fileselect.c	Sun Mar 24 15:12:16 2013 +0000
@@ -161,9 +161,10 @@
 GdkBitmap   * dmask;
 GdkBitmap   * fmask;
 
-static char * get_current_dir_name_utf8( void )
+static gchar * get_current_dir_name_utf8( void )
 {
- char * dir, * utf8dir;
+ char * dir;
+ gchar * utf8dir;
  dir = get_current_dir_name();
  utf8dir = g_filename_display_name( dir );
  free( dir );
@@ -368,7 +369,7 @@
 
 static void fs_Up_released( GtkButton * button, gpointer user_data )
 {
- char *utf8dir;
+ gchar *utf8dir;
 
  chdir( ".." );
  fsSelectedFile=fsThatDir;
@@ -388,7 +389,7 @@
 
  if( ( stat( fsSelectedFile,&fs ) == 0 ) && S_ISDIR( fs.st_mode ) )
   {
-   char *utf8dir;
+   gchar *utf8dir;
    if ( chdir( fsSelectedFile ) != 0 ) return;
    fsSelectedFile=fsThatDir;
    CheckDir( fsFNameList );