diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-09-30 16:31:04 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-10-15 16:45:16 +0100 |
commit | 0853ce3077d577a5062f224918a115a2e52803af (patch) | |
tree | 0a39d144628198ba8b7182456a03359470353f9a /gtk/gtkmodules.c | |
parent | 616afadd78c945bb7ac73ff27417b6ff5d66bd05 (diff) | |
download | gtk+-0853ce3077d577a5062f224918a115a2e52803af.tar.gz |
Use G_VALUE_INIT
Instead of an explicit { 0, } when declaring the variable.
Diffstat (limited to 'gtk/gtkmodules.c')
-rw-r--r-- | gtk/gtkmodules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c index e237fa76ba..451b3fbf5f 100644 --- a/gtk/gtkmodules.c +++ b/gtk/gtkmodules.c @@ -510,7 +510,7 @@ display_opened_cb (GdkDisplayManager *display_manager, for (i = 0; i < gdk_display_get_n_screens (display); i++) { - GValue value = { 0, }; + GValue value = G_VALUE_INIT; g_value_init (&value, G_TYPE_STRING); |