summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxUI.cpp')
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp
index 52c4c36..9fec264 100644
--- a/ldmicro/lib/linuxUI/linuxUI.cpp
+++ b/ldmicro/lib/linuxUI/linuxUI.cpp
@@ -420,4 +420,8 @@ BOOL GetWindowRect(HWID hWid, PRECT pRect)
pRect->bottom = allocation.height;
return TRUE;
-} \ No newline at end of file
+}
+
+void DestroyWindow (GtkWidget* widget, gpointer data){
+ gtk_widget_destroy (widget);
+}