aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-09-20 12:49:05 +0000
committerGravatar Brendan Taylor <whateley@gmail.com>2011-09-20 12:49:05 +0000
commitd7eb563f47a61dfdee010d63a53a0410ab32dad1 (patch)
tree1f7535e783af43b48ce47ba4e2c22f9a752daaf8 /src
parent69e4062eeb06a8ccc12127dac33a1935041419bb (diff)
fix a warning i just introduced
Diffstat (limited to 'src')
-rw-r--r--src/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.c b/src/commands.c
index 6438789..ff3b15f 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -407,7 +407,7 @@ close_uzbl (WebKitWebView *page, GArray *argv, GString *result) {
if (uzbl.gui.main_window)
gtk_widget_destroy(uzbl.gui.main_window);
else if (uzbl.gui.plug)
- gtk_widget_destroy(uzbl.gui.plug);
+ gtk_widget_destroy(GTK_WIDGET(uzbl.gui.plug));
gtk_main_quit ();
}