mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
parent
371ce39cfc
commit
4e2069f779
@ -1,5 +1,8 @@
|
||||
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
|
||||
dereference info before checking it for NULL. (Coverity)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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
|
||||
dereference info before checking it for NULL. (Coverity)
|
||||
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user