Fix missing sentinel warning

This commit is contained in:
Pan7 2017-04-27 20:49:58 +02:00
parent 6e3c89c217
commit d3142c153d
2 changed files with 4 additions and 4 deletions

View file

@ -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 );

View file

@ -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 );