Skip to content

GtkPrinterOptionWidget GType not released after Display destruction #1838

@ptziegler

Description

@ptziegler

As discussed in #1832

Describe the bug

When creating a new Display, the GtkPrinterOptionWidget GType introduced with 89e9775 is initalized, but not deinitialized when the display is disposed again:

long printerOptionWidgetType = GTK.gtk_printer_option_widget_get_type();
long printerOptionWidgetClass = OS.g_type_class_ref (printerOptionWidgetType);
printerOptionWidgetNewProc = OS.G_OBJECT_CLASS_CONSTRUCTOR (printerOptionWidgetClass);
OS.G_OBJECT_CLASS_SET_CONSTRUCTOR (printerOptionWidgetClass, OS.printerOptionWidgetNewProc_CALLBACK(printerOptionWidgetNewProc));
OS.g_type_class_unref (printerOptionWidgetClass);

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions