aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2011-08-17 00:17:08 +0800
committerpawel <pawel@FreeBSD.org>2011-08-17 00:17:08 +0800
commit2a55c7ab57060abbed8251af1ced5faca1b98609 (patch)
tree0c83448436effa561417f5c617ae140f4769062b /sysutils
parentfcbbd51b2ab5210c167dde9fce670b15ce1080a5 (diff)
downloadfreebsd-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.h20
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);
+ }
+
+