Branch: Tag:

2014-05-26

2014-05-26 15:31:21 by Per Hedbor <ph@opera.com>

Removed a few casts

58:    struct cairo_mod_context *cc;       get_all_args("set_cairo_context",args,"%o%f%f",&o,&x,&y); -  if (!(cc = (struct cairo_mod_context *)get_storage(o1, cairo_program))) +  if (!(cc = get_storage(o1, cairo_program)))    Pike_error("Object is not derived from Cairo.Context");    gtk_print_context_set_cairo_context(GTK_PRINT_CONTEXT(THIS->obj),    cc->ctx,x,y);