Skip to content

Commit a76fb54

Browse files
committed
Release GtkPrinterOptionWidget
Fixes #1838
1 parent 2a50eae commit a76fb54

File tree

1 file changed

+5
-0
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets

1 file changed

+5
-0
lines changed

bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java

+5
Original file line numberDiff line numberDiff line change
@@ -4840,6 +4840,11 @@ void releaseDisplay () {
48404840
OS.G_OBJECT_CLASS_SET_CONSTRUCTOR (pangoFontFaceClass, pangoFontFaceNewProc);
48414841
OS.g_type_class_unref (pangoFontFaceClass);
48424842
pangoFontFaceNewProc = 0;
4843+
long printerOptionWidgetType = GTK.gtk_printer_option_widget_get_type();
4844+
long printerOptionWidgetClass = OS.g_type_class_ref (printerOptionWidgetType);
4845+
OS.G_OBJECT_CLASS_SET_CONSTRUCTOR (printerOptionWidgetClass, printerOptionWidgetNewProc);
4846+
OS.g_type_class_unref (printerOptionWidgetClass);
4847+
printerOptionWidgetNewProc = 0;
48434848
}
48444849

48454850
/* Release the sleep resources */

0 commit comments

Comments
 (0)