aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-04-05 21:26:15 +1000
committerNeil <nyamatongwe@gmail.com>2021-04-05 21:26:15 +1000
commitc81cf0efc07247f320b649f35500af64ff19ac24 (patch)
tree1c89401c163088db42754a279c8cc0f937e30d5e /gtk
parent00527a74c676076cad767397a2867a4aa4454a19 (diff)
downloadscintilla-mirror-c81cf0efc07247f320b649f35500af64ff19ac24.tar.gz
More noexcept on Cocoa, GTK, and Qt.
Diffstat (limited to 'gtk')
-rwxr-xr-xgtk/PlatGTK.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index b400d4b52..4f06550a2 100755
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -1124,7 +1124,7 @@ std::unique_ptr<Surface> Surface::Allocate(int) {
return std::make_unique<SurfaceImpl>();
}
-Window::~Window() {}
+Window::~Window() noexcept {}
void Window::Destroy() noexcept {
if (wid) {
@@ -1326,7 +1326,7 @@ static void list_image_free(gpointer, gpointer value, gpointer) noexcept {
ListBox::ListBox() noexcept {
}
-ListBox::~ListBox() {
+ListBox::~ListBox() noexcept {
}
enum {
@@ -1368,7 +1368,7 @@ public:
ListBoxX(ListBoxX&&) = delete;
ListBoxX&operator=(const ListBoxX&) = delete;
ListBoxX&operator=(ListBoxX&&) = delete;
- ~ListBoxX() override {
+ ~ListBoxX() noexcept override {
if (pixhash) {
g_hash_table_foreach((GHashTable *) pixhash, list_image_free, nullptr);
g_hash_table_destroy((GHashTable *) pixhash);