diff options
author | pawel <pawel@FreeBSD.org> | 2011-08-17 00:17:08 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2011-08-17 00:17:08 +0800 |
commit | 2a55c7ab57060abbed8251af1ced5faca1b98609 (patch) | |
tree | 0c83448436effa561417f5c617ae140f4769062b /sysutils | |
parent | fcbbd51b2ab5210c167dde9fce670b15ce1080a5 (diff) | |
download | freebsd-ports-gnome-2a55c7ab57060abbed8251af1ced5faca1b98609.tar.gz freebsd-ports-gnome-2a55c7ab57060abbed8251af1ced5faca1b98609.tar.zst freebsd-ports-gnome-2a55c7ab57060abbed8251af1ced5faca1b98609.zip |
Fix build with clang
Approved by: miwi (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gsmartcontrol/files/patch-src-gsc_text_window.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/gsmartcontrol/files/patch-src-gsc_text_window.h b/sysutils/gsmartcontrol/files/patch-src-gsc_text_window.h new file mode 100644 index 000000000000..85907bf5f942 --- /dev/null +++ b/sysutils/gsmartcontrol/files/patch-src-gsc_text_window.h @@ -0,0 +1,20 @@ +--- src/gsc_text_window.h.orig 2011-08-15 16:20:00.000000000 +0200 ++++ src/gsc_text_window.h 2011-08-15 16:21:05.000000000 +0200 +@@ -126,7 +126,7 @@ + // by default, delete_event calls hide(). + bool on_delete_event_before(GdkEventAny* e) + { +- destroy(this); // deletes this object and nullifies instance ++ this->destroy(this); // deletes this object and nullifies instance + return true; // event handled, don't call default virtual handler + } + +@@ -184,7 +184,7 @@ + + void on_close_window_button_clicked() + { +- destroy(this); ++ this->destroy(this); + } + + |