forked from AuroraMiddleware/gtk
widget: Initialize a local variable
We will later pass this variable on to some other functions, so be safe against them using the value.
This commit is contained in:
parent
d607312080
commit
cc9a4c1720
@ -4513,7 +4513,7 @@ gtk_widget_size_allocate (GtkWidget *widget,
|
|||||||
gboolean size_changed;
|
gboolean size_changed;
|
||||||
gboolean baseline_changed;
|
gboolean baseline_changed;
|
||||||
gboolean position_changed;
|
gboolean position_changed;
|
||||||
gint natural_width, natural_height, dummy;
|
gint natural_width, natural_height, dummy = 0;
|
||||||
gint min_width, min_height;
|
gint min_width, min_height;
|
||||||
GtkCssStyle *style;
|
GtkCssStyle *style;
|
||||||
GtkBorder margin, border, padding;
|
GtkBorder margin, border, padding;
|
||||||
|
Loading…
Reference in New Issue
Block a user