Silence compiler warnings.
2006-04-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence compiler warnings.
This commit is contained in:

committed by
Matthias Clasen

parent
371ce39cfc
commit
4e2069f779
@ -1,5 +1,8 @@
|
|||||||
2006-04-11 Matthias Clasen <mclasen@redhat.com>
|
2006-04-11 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
|
||||||
|
compiler warnings.
|
||||||
|
|
||||||
* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
|
* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
|
||||||
dereference info before checking it for NULL. (Coverity)
|
dereference info before checking it for NULL. (Coverity)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2006-04-11 Matthias Clasen <mclasen@redhat.com>
|
2006-04-11 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
|
||||||
|
compiler warnings.
|
||||||
|
|
||||||
* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
|
* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
|
||||||
dereference info before checking it for NULL. (Coverity)
|
dereference info before checking it for NULL. (Coverity)
|
||||||
|
|
||||||
|
@ -722,7 +722,8 @@ gtk_scale_get_layout_offsets (GtkScale *scale,
|
|||||||
gint *x,
|
gint *x,
|
||||||
gint *y)
|
gint *y)
|
||||||
{
|
{
|
||||||
gint local_x, local_y;
|
gint local_x = 0;
|
||||||
|
gint local_y = 0;
|
||||||
|
|
||||||
g_return_if_fail (GTK_IS_SCALE (scale));
|
g_return_if_fail (GTK_IS_SCALE (scale));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user