As of 5804817, the call to generate_pixmap():2353 was changed to pass by
reference. This broke the GTK2 implementation of generate_pixmap().

This commit updates the GTK2 function to work with the changes.
Fix typo in function name