mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 08:53:39 +02:00
gio: Use G_VALUE_INIT
This commit is contained in:
@@ -87,8 +87,8 @@ fd_source_closure_callback (int fd,
|
||||
{
|
||||
GClosure *closure = data;
|
||||
|
||||
GValue params[2] = { { 0, }, { 0, } };
|
||||
GValue result_value = { 0, };
|
||||
GValue params[2] = { G_VALUE_INIT, G_VALUE_INIT };
|
||||
GValue result_value = G_VALUE_INIT;
|
||||
gboolean result;
|
||||
|
||||
g_value_init (&result_value, G_TYPE_BOOLEAN);
|
||||
|
Reference in New Issue
Block a user