Hi Jeffrey,
I am probably not much help here. Your code works on Ubuntu16.04 and
GTK2.24.30. It does seem strange that there isn't an error popping up
someplace. Have you tried getting the status of that function to see if it
returns an error?
cairo_status_t status;
status=cairo_surface_write_to_png(surface, test_dir);
g_print("%s\n", cairo_status_to_string(status));
Maybe it might offer a clue to what is going on.
Eric
_______________________________________________
gtk-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-list