mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-12-13 14:01:01 +00:00
Fix missing sentinel warning 2
This commit is contained in:
parent
52da823a3c
commit
d00ca4e12c
2 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue