diff options
author | NatsuDrag9 | 2018-06-28 17:27:37 +0530 |
---|---|---|
committer | NatsuDrag9 | 2018-06-28 17:27:37 +0530 |
commit | f573d931f1777e47e8ad5e5415b7170dfa0af579 (patch) | |
tree | 1ed4285cf392ae4daca82370d1d5b97d532d1ca1 /ldmicro/lib/linuxUI/linuxUI.cpp | |
parent | 30452e21785776a6f479d16099dcb2318a48d641 (diff) | |
download | LDMicroGtk-f573d931f1777e47e8ad5e5415b7170dfa0af579.tar.gz LDMicroGtk-f573d931f1777e47e8ad5e5415b7170dfa0af579.tar.bz2 LDMicroGtk-f573d931f1777e47e8ad5e5415b7170dfa0af579.zip |
Ported lutdialog.cpp
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxUI.cpp')
-rw-r--r-- | ldmicro/lib/linuxUI/linuxUI.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp index d7248b7..64f7690 100644 --- a/ldmicro/lib/linuxUI/linuxUI.cpp +++ b/ldmicro/lib/linuxUI/linuxUI.cpp @@ -531,5 +531,8 @@ BOOL KillTimer(HWID hWid, UINT uIDEvent) void DestroyWindow (HWID widget) { - gtk_widget_destroy (widget); + if (GTK_IS_WIDGET(widget)) + { + gtk_widget_destroy (widget); + } } |