Fix missing sentinel warning 2

This commit is contained in:
Pan7 2017-07-09 20:55:56 +02:00
parent 52da823a3c
commit d00ca4e12c
2 changed files with 2 additions and 2 deletions

View file

@ -1202,7 +1202,7 @@ GtkWidget *CreateCameraInspectorDialog( void ){
renderer = gtk_cell_renderer_text_new();
//1 view column with the events
column = gtk_tree_view_column_new_with_attributes( "events", renderer, "text", EVENT_TEXT_COLUMN, NULL );
column = gtk_tree_view_column_new_with_attributes( "events", renderer, "text", EVENT_TEXT_COLUMN, (char*)NULL );
gtk_tree_view_append_column( GTK_TREE_VIEW( g_pEventsList ), column );
gtk_tree_view_set_headers_visible( GTK_TREE_VIEW( g_pEventsList ), FALSE );

View file

@ -37,7 +37,7 @@ static void change_clicked( GtkWidget *widget, gpointer data ){
GtkFileChooserAction action = GTK_FILE_CHOOSER_ACTION_OPEN;
parent = GTK_WIDGET( data );
file_sel = gtk_file_chooser_dialog_new( _( "Locate portal (.prt) file" ), NULL, action, NULL, NULL );
file_sel = gtk_file_chooser_dialog_new( _( "Locate portal (.prt) file" ), NULL, action, NULL, (char*)NULL );
gtk_window_set_transient_for( GTK_WINDOW( file_sel ), GTK_WINDOW( parent ) );
gtk_dialog_add_button( GTK_DIALOG( file_sel ), _( "_Open" ), GTK_RESPONSE_ACCEPT );
gtk_dialog_add_button( GTK_DIALOG( file_sel ), _( "_Cancel" ), GTK_RESPONSE_CANCEL );