Error building template class 'GtkPrintUnixDialog'



Hi all,

When calling gtk_print_operation_run(), I'm seeing this GTK error:

Gtk-CRITICAL **: Error building template class 'GtkPrintUnixDialog' for an instance of type 'GtkPrintUnixDialog': Invalid object type `GtkPrinterOptionWidget' on line 567

Does anyone know what might be the issue?

This is the code for calling gtk_print_operation_run:
    GtkPrintOperationResult response = gtk_print_operation_run
                                       (
                                           printOp,
                                           GetShowDialog()
? GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG : GTK_PRINT_OPERATION_ACTION_PRINT,
                                           m_parent
? GTK_WINDOW(gtk_widget_get_toplevel(m_parent->m_widget))
                                            : NULL,
                                           &gError
                                       );

Thanks,
Scott


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]