Update gimp-debug-tool.c
The following Merge Request (MR) has been forwarded from GitHub in order to prevent the GNOME Project from losing contributions coming from un-official channels. And for contributors to not see their valuable contributions not being accounted for.
Relevant information:
Github handle: Swapnilden
MR URL: https://github.com/GNOME/gimp/pull/48
Patch URL: https://github.com/GNOME/gimp/pull/48.patch
Body of the MR:
This modification separates the dialog creation and showing logic into a separate function for better code organization and readability. Additionally, it cleans up resources properly and simplifies the main function for better readability and maintainability.