mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix missing sentinel warning
This commit is contained in:
parent
6e3c89c217
commit
d3142c153d
2 changed files with 4 additions and 4 deletions
|
@ -1869,7 +1869,7 @@ void DoNewPatchDlg(){
|
|||
cells = gtk_cell_layout_get_cells( GTK_CELL_LAYOUT( combo ) );
|
||||
for( lst = cells; lst != NULL; lst = g_list_next( lst ) )
|
||||
{
|
||||
g_object_set( lst->data, "xalign", 1.0, NULL );
|
||||
g_object_set( G_OBJECT( lst->data ), "xalign", 1.0, (char*)NULL );
|
||||
}
|
||||
g_list_free( cells );
|
||||
|
||||
|
@ -1887,7 +1887,7 @@ void DoNewPatchDlg(){
|
|||
cells = gtk_cell_layout_get_cells( GTK_CELL_LAYOUT( combo ) );
|
||||
for( lst = cells; lst != NULL; lst = g_list_next( lst ) )
|
||||
{
|
||||
g_object_set( lst->data, "xalign", 1.0, NULL );
|
||||
g_object_set( G_OBJECT( lst->data ), "xalign", 1.0, (char*)NULL );
|
||||
}
|
||||
g_list_free( cells );
|
||||
|
||||
|
|
|
@ -361,7 +361,7 @@ void PatchDialog::BuildDialog(){
|
|||
cells = gtk_cell_layout_get_cells( GTK_CELL_LAYOUT( combo ) );
|
||||
for( lst = cells; lst != NULL; lst = g_list_next( lst ) )
|
||||
{
|
||||
g_object_set( lst->data, "xalign", 1.0, NULL );
|
||||
g_object_set( G_OBJECT( lst->data ), "xalign", 1.0, (char*)NULL );
|
||||
}
|
||||
g_list_free( cells );
|
||||
|
||||
|
@ -377,7 +377,7 @@ void PatchDialog::BuildDialog(){
|
|||
cells = gtk_cell_layout_get_cells( GTK_CELL_LAYOUT( combo ) );
|
||||
for( lst = cells; lst != NULL; lst = g_list_next( lst ) )
|
||||
{
|
||||
g_object_set( lst->data, "xalign", 1.0, NULL );
|
||||
g_object_set( G_OBJECT( lst->data ), "xalign", 1.0, (char*)NULL );
|
||||
}
|
||||
g_list_free( cells );
|
||||
|
||||
|
|
Loading…
Reference in a new issue