From 672896ef5224c81ad6989bbd8dd056d749c2f158 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Tue, 16 Aug 2011 16:17:08 +0000 Subject: Fix build with clang Approved by: miwi (mentor) --- .../gsmartcontrol/files/patch-src-gsc_text_window.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sysutils/gsmartcontrol/files/patch-src-gsc_text_window.h 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); + } + + -- cgit v1.2.3