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:
Peter Teichman 1999-01-09 08:46:30 +00:00
parent 576edc87e5
commit 4cdd6ba12f
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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)