ports/sysutils/gsmartcontrol/files/patch-src-gsc_text_window.h
Pawel Pekala 672896ef52 Fix build with clang
Approved by:	miwi (mentor)
2011-08-16 16:17:08 +00:00

20 lines
583 B
C

--- 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);
}