diff options
author | Ramana | 2018-06-28 19:04:28 +0530 |
---|---|---|
committer | GitHub | 2018-06-28 19:04:28 +0530 |
commit | 169b2cedb1a17c3ab537b3d39a3758d5742ba043 (patch) | |
tree | 2c18e91409fa468188b37d60743d4abf5eacd21c /ldmicro/lib/linuxUI/linuxUI.cpp | |
parent | d49887b15a0abb17d7687e8b96b4e5ffb0c75677 (diff) | |
parent | 2bd608013578880800ba957fff3f318339de0ae3 (diff) | |
download | LDMicroGtk-169b2cedb1a17c3ab537b3d39a3758d5742ba043.tar.gz LDMicroGtk-169b2cedb1a17c3ab537b3d39a3758d5742ba043.tar.bz2 LDMicroGtk-169b2cedb1a17c3ab537b3d39a3758d5742ba043.zip |
Merge pull request #33 from akshay-c/GUI_Port_2
lutdialog update
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); + } } |