[MPlayer-cvslog] r36055 - trunk/gui/dialog/fileselect.c

ib subversion at mplayerhq.hu
Sun Mar 24 16:15:26 CET 2013


Author: ib
Date: Sun Mar 24 16:15:26 2013
New Revision: 36055

Log:
Remove pointless casts.

Modified:
   trunk/gui/dialog/fileselect.c

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Sun Mar 24 16:12:16 2013	(r36054)
+++ trunk/gui/dialog/fileselect.c	Sun Mar 24 16:15:26 2013	(r36055)
@@ -375,7 +375,7 @@ static void fs_Up_released( GtkButton * 
  fsSelectedFile=fsThatDir;
  CheckDir( fsFNameList );
  utf8dir = get_current_dir_name_utf8();
- gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),(unsigned char *)utf8dir );
+ gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),utf8dir );
  g_free(utf8dir);
  return;
 }
@@ -394,13 +394,13 @@ static void fs_Ok_released( GtkButton * 
    fsSelectedFile=fsThatDir;
    CheckDir( fsFNameList );
    utf8dir = get_current_dir_name_utf8();
-   gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),(unsigned char *)utf8dir );
+   gtk_entry_set_text( GTK_ENTRY( fsPathCombo ),utf8dir );
    g_free(utf8dir);
    gtk_widget_grab_focus( fsFNameList );
    return;
   }
 
-        fsSelectedDirectory=(unsigned char *)get_current_dir_name();
+        fsSelectedDirectory=get_current_dir_name();
  switch ( fsType )
   {
    case fsVideoSelector:


More information about the MPlayer-cvslog mailing list