diff --git a/ChangeLog b/ChangeLog index 25581bc0cf..8728b139fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-04-11 Matthias Clasen + * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence + compiler warnings. + * gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't dereference info before checking it for NULL. (Coverity) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 25581bc0cf..8728b139fd 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2006-04-11 Matthias Clasen + * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence + compiler warnings. + * gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't dereference info before checking it for NULL. (Coverity) diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 3497938079..1124dd8e55 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -722,7 +722,8 @@ gtk_scale_get_layout_offsets (GtkScale *scale, gint *x, gint *y) { - gint local_x, local_y; + gint local_x = 0; + gint local_y = 0; g_return_if_fail (GTK_IS_SCALE (scale));