[webkit-gtk] webkit_print_operation_run_print_dialog

John Ralls jralls at ceridwen.fremont.ca.us
Sun Mar 5 11:39:34 PST 2017


Is webkit_print_operation_run_dialog() supposed to free the WebKitPrintOperation* passed in? If it is, could you please annotate it accordingly in the docs?

I ask because
    op = webkit_print_operation_new (WEBKIT_WEB_VIEW (self));
    top = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (self)));
    webkit_print_operation_run_dialog (op, top);
    g_free (op); 

crashes in the g_free on F25/libwebkit2gtk-4.0.so.37.14.9.

Regards,
John Ralls



More information about the webkit-gtk mailing list