Permalink
Browse files

minor fixes

  • Loading branch information...
1 parent fb4d08e commit 1bdb2e953e9f7144c301505abf146e03d8ece4d3 @pchilds committed Nov 5, 2012
Showing with 2 additions and 4 deletions.
  1. +0 −1 gtk2plot/gtkplotlinear.c
  2. +1 −1 gtk2plot/gtkplotpolar.c
  3. +0 −1 gtk3plot/gtkplotlinear.c
  4. +1 −1 gtk3plot/gtkplotpolar.c
View
@@ -4187,7 +4187,6 @@ static gboolean gtk_plot_linear_button_release(GtkWidget *widget, GdkEventButton
else (plot->zmode)|=GTK_PLOT_LINEAR_ZOOM_SGL;
}
}
- //gtk_plot_linear_redraw(widget);
gtk_widget_queue_draw_area(widget, xw-22, 0, 22, 11);
}
}
View
@@ -5535,7 +5535,7 @@ static gboolean gtk_plot_polar_button_release(GtkWidget *widget, GdkEventButton
(plot->zmode)-=GTK_PLOT_POLAR_ZOOM_RDL;
if (((plot->zmode)&(GTK_PLOT_POLAR_ZOOM_SGL|GTK_PLOT_POLAR_ZOOM_AZM|GTK_PLOT_POLAR_ZOOM_RDL))==0) (plot->zmode)|=GTK_PLOT_POLAR_ZOOM_SGL;
}
- gtk_plot_polar_redraw(widget);
+ gtk_widget_queue_draw_area(widget, xw-22, 0, 22, 11);
}
}
return FALSE;
View
@@ -4159,7 +4159,6 @@ static gboolean gtk_plot_linear_button_release(GtkWidget *widget, GdkEventButton
else (plot->zmode)|=GTK_PLOT_LINEAR_ZOOM_SGL;
}
}
- //gtk_plot_linear_redraw(widget);
gtk_widget_queue_draw_area(widget, xw-22, 0, 22, 11);
}
}
View
@@ -5520,7 +5520,7 @@ static gboolean gtk_plot_polar_button_release(GtkWidget *widget, GdkEventButton
(plot->zmode)-=GTK_PLOT_POLAR_ZOOM_RDL;
if (((plot->zmode)&(GTK_PLOT_POLAR_ZOOM_SGL|GTK_PLOT_POLAR_ZOOM_AZM|GTK_PLOT_POLAR_ZOOM_RDL))==0) (plot->zmode)|=GTK_PLOT_POLAR_ZOOM_SGL;
}
- gtk_plot_polar_redraw(widget);
+ gtk_widget_queue_draw_area(widget, xw-22, 0, 22, 11);
}
}
return FALSE;

0 comments on commit 1bdb2e9

Please sign in to comment.