comparison gui/ui/gtk/fileselect.c @ 33725:f3361b27a151

Rename the gui() symbolic constants. Use prefix GMP for the constants, rename them and use upper case characters. For optical reasons, change parameter arg from NULL to 0 where it isn't used to pass anything.
author ib
date Tue, 05 Jul 2011 10:47:51 +0000
parents c919fb3d2531
children 81f71d910333
comparison
equal deleted inserted replaced
33724:c919fb3d2531 33725:f3361b27a151
508 if ( !strcmp( item->data,fsSelectedDirectory ) ) i=0; 508 if ( !strcmp( item->data,fsSelectedDirectory ) ) i=0;
509 item=item->next; 509 item=item->next;
510 } 510 }
511 if ( i ) fsTopList_items=g_list_prepend( fsTopList_items,(gchar *)get_current_dir_name_utf8() ); 511 if ( i ) fsTopList_items=g_list_prepend( fsTopList_items,(gchar *)get_current_dir_name_utf8() );
512 if ( uiMainAutoPlay ) { uiMainAutoPlay=0; uiEventHandling( evPlay,0 ); } 512 if ( uiMainAutoPlay ) { uiMainAutoPlay=0; uiEventHandling( evPlay,0 ); }
513 else gui( guiSetState,(void *) GUI_STOP ); 513 else gui( GMP_SET_STATE,(void *) GUI_STOP );
514 } 514 }
515 515
516 static void fs_Cancel_released( GtkButton * button,gpointer user_data ) 516 static void fs_Cancel_released( GtkButton * button,gpointer user_data )
517 { 517 {
518 HideFileSelect(); 518 HideFileSelect();