summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.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/gtkscalebutton.c
parent616afadd78c945bb7ac73ff27417b6ff5d66bd05 (diff)
downloadgtk+-0853ce3077d577a5062f224918a115a2e52803af.tar.gz
Use G_VALUE_INIT
Instead of an explicit { 0, } when declaring the variable.
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r--gtk/gtkscalebutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c
index bd3157ad19..b6c10f4294 100644
--- a/gtk/gtkscalebutton.c
+++ b/gtk/gtkscalebutton.c
@@ -873,7 +873,7 @@ gtk_scale_button_screen_changed (GtkWidget *widget,
GtkScaleButton *button = (GtkScaleButton *) widget;
GtkScaleButtonPrivate *priv;
GdkScreen *screen;
- GValue value = { 0, };
+ GValue value = G_VALUE_INIT;
if (gtk_widget_has_screen (widget) == FALSE)
return;