summaryrefslogtreecommitdiff
path: root/gtk/gtkmodules.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-09-30 16:31:04 +0100
committerJavier Jardón <jjardon@gnome.org>2011-10-15 16:45:16 +0100
commit0853ce3077d577a5062f224918a115a2e52803af (patch)
tree0a39d144628198ba8b7182456a03359470353f9a /gtk/gtkmodules.c
parent616afadd78c945bb7ac73ff27417b6ff5d66bd05 (diff)
downloadgtk+-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.c2
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);