summaryrefslogtreecommitdiffstats
path: root/views/window/window_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/window_gtk.h')
-rw-r--r--views/window/window_gtk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h
index 164a924..05edbcc 100644
--- a/views/window/window_gtk.h
+++ b/views/window/window_gtk.h
@@ -60,8 +60,8 @@ class WindowGtk : public WidgetGtk, public Window {
virtual bool ShouldUseNativeFrame() const;
virtual void FrameTypeChanged();
- virtual Window* AsWindow() { return this; }
- virtual const Window* AsWindow() const { return this; }
+ virtual Window* AsWindow();
+ virtual const Window* AsWindow() const;
// Overridden from WidgetGtk:
virtual gboolean OnButtonPress(GtkWidget* widget, GdkEventButton* event);