Use G_VALUE_INIT

Instead of an explicit { 0, } when declaring the variable.
This commit is contained in:
Javier Jardón
2011-09-30 16:31:04 +01:00
parent 616afadd78
commit 0853ce3077
30 changed files with 73 additions and 73 deletions

View File

@ -1117,7 +1117,7 @@ gdk_x11_screen_get_setting (GdkScreen *screen,
GdkX11Screen *x11_screen;
gboolean success = FALSE;
gint i;
GValue tmp_val = { 0, };
GValue tmp_val = G_VALUE_INIT;
g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);