mirror of https://github.com/GNOME/gimp.git
plug-ins/MapObject/mapobject_ui.c (angle_update): fixed a
segfault.. The wrong argument to angle_update was being dereferenced.
This commit is contained in:
parent
576edc87e5
commit
4cdd6ba12f
|
@ -1,3 +1,8 @@
|
|||
Sat Jan 9 03:42:30 EST 1999 Peter Teichman <pat4@acpub.duke.edu>
|
||||
|
||||
* plug-ins/MapObject/mapobject_ui.c (angle_update): fixed a
|
||||
segfault.. The wrong argument to angle_update was being dereferenced.
|
||||
|
||||
Thu Jan 7 15:45:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: added pl to ALL_LINGUAS
|
||||
|
|
|
@ -144,8 +144,8 @@ void angle_update(GtkWidget *widget, GtkScale *scale)
|
|||
GtkAdjustment *adjustment;
|
||||
|
||||
valueptr=(gdouble *)gtk_object_get_data(GTK_OBJECT(widget),"ValuePtr");
|
||||
adjustment=gtk_range_get_adjustment(GTK_RANGE(scale));
|
||||
|
||||
adjustment=gtk_range_get_adjustment(GTK_RANGE(widget));
|
||||
|
||||
*valueptr=(gdouble)adjustment->value;
|
||||
|
||||
if (mapvals.showgrid==TRUE)
|
||||
|
|
Loading…
Reference in New Issue