From: Paweł Forysiuk Date: Fri, 1 Apr 2011 14:35:09 +0000 (+0200) Subject: Remove unused browser variable from addons_install_response X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728ed8570f833917923751db3b5907dc63e3e3cb;p=midori Remove unused browser variable from addons_install_response --- diff --git a/extensions/addons.c b/extensions/addons.c index 62030cf1..91d78296 100644 --- a/extensions/addons.c +++ b/extensions/addons.c @@ -100,11 +100,7 @@ addons_install_response (GtkWidget* infobar, { if (response_id == GTK_RESPONSE_ACCEPT) { - MidoriBrowser* browser; - const gchar* uri; - - browser = midori_browser_get_for_widget (GTK_WIDGET (infobar)); - uri = midori_view_get_display_uri (view); + const gchar* uri = midori_view_get_display_uri (view); if (uri && *uri) { gchar** split_uri;