diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-11-11 02:47:14 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-11-11 02:47:14 +0800 |
commit | eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8 (patch) | |
tree | f7e357f942bd1cd3027d17fbb888814149e6e63b | |
parent | 306de544871c8354af5a63e002633c2e987a1de2 (diff) | |
download | gsoc2013-epiphany-eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8.tar gsoc2013-epiphany-eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8.tar.gz gsoc2013-epiphany-eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8.tar.bz2 gsoc2013-epiphany-eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8.tar.lz gsoc2013-epiphany-eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8.tar.xz gsoc2013-epiphany-eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8.tar.zst gsoc2013-epiphany-eac6eeada11a90b7c6188709bdfeb3bcb1edc2e8.zip |
Implement close for WebKitEmbed (simply destroys the widget).
svn path=/trunk/; revision=7656
-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; |