diff options
-rw-r--r-- | embed/webkit/webkit-embed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/webkit/webkit-embed.cpp b/embed/webkit/webkit-embed.cpp index 4442b9a53..19c78b01f 100644 --- a/embed/webkit/webkit-embed.cpp +++ b/embed/webkit/webkit-embed.cpp @@ -95,6 +95,7 @@ webkit_embed_grab_focus (GtkWidget *widget) static void impl_close (EphyEmbed *embed) { + gtk_widget_destroy (GTK_WIDGET (embed)); } static void @@ -190,7 +191,6 @@ webkit_embed_class_init (WebKitEmbedClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); - GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); object_class->finalize = webkit_embed_finalize; |