Use G_VALUE_INIT
Instead of an explicit { 0, } when declaring the variable.
This commit is contained in:
@ -711,7 +711,7 @@ selection_cb (GtkTreeSelection *selection,
|
||||
GtkTreeModel *model)
|
||||
{
|
||||
GtkTreeIter iter;
|
||||
GValue value = {0, };
|
||||
GValue value = G_VALUE_INIT;
|
||||
|
||||
if (! gtk_tree_selection_get_selected (selection, NULL, &iter))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user