Permalink
Browse files

hopeful fix on v3

  • Loading branch information...
1 parent 19fa82e commit 9ec66e4cee48c5202d1e2283175b17b1b5f4d4fe @pchilds committed Aug 23, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −2 gtk3plot/gtkplotlinear.c
  2. +1 −2 gtk3plot/gtkplotpolar.c
View
@@ -4319,11 +4319,10 @@ static void gtk_plot_linear_get_property(GObject *object, guint prop_id, GValue
}
}
-static gboolean gtk_plot_linear_draw(GtkWidget *widget, CairoContext *cr, gpointer data)
+static gboolean gtk_plot_linear_draw(GtkWidget *widget, cairo_t *cr)
{
draw(widget, cr);
drawz(widget, cr);
- cairo_destroy(cr);
return FALSE;
}
View
@@ -5598,11 +5598,10 @@ static void gtk_plot_polar_get_property(GObject *object, guint prop_id, GValue *
}
}
-static gboolean gtk_plot_polar_draw(GtkWidget *widget, CairoContext *cr, gpointer data)
+static gboolean gtk_plot_polar_draw(GtkWidget *widget, cairo_t *cr)
{
drawz(widget, cr);
draw(widget, cr);
- cairo_destroy(cr);
return FALSE;
}

0 comments on commit 9ec66e4

Please sign in to comment.