Skip to content

Commit

Permalink
hopeful fix on v3
Browse files Browse the repository at this point in the history
  • Loading branch information
pchilds committed Aug 23, 2012
1 parent 19fa82e commit 9ec66e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions gtk3plot/gtkplotlinear.c
Expand Up @@ -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;
}

Expand Down
3 changes: 1 addition & 2 deletions gtk3plot/gtkplotpolar.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9ec66e4

Please sign in to comment.