aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/interface-gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface-gtk/interface-gtk.h')
-rw-r--r--src/interface-gtk/interface-gtk.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/interface-gtk/interface-gtk.h b/src/interface-gtk/interface-gtk.h
index 7762ee4..8bd189d 100644
--- a/src/interface-gtk/interface-gtk.h
+++ b/src/interface-gtk/interface-gtk.h
@@ -43,16 +43,7 @@ public:
/* implementation of View::initialize() */
void initialize_impl(void);
- inline ~ViewGtk()
- {
- /*
- * This does NOT destroy the Scintilla object
- * and GTK widget, if it is the current view
- * (and therefore added to the vbox).
- */
- if (sci)
- g_object_unref(G_OBJECT(sci));
- }
+ ~ViewGtk();
inline GtkWidget *
get_widget(void)