]> spindle.queued.net Git - midori/commitdiff
Remove unused browser variable from addons_install_response
authorPaweł Forysiuk <tuxator@o2.pl>
Fri, 1 Apr 2011 14:35:09 +0000 (16:35 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 3 Apr 2011 23:15:05 +0000 (01:15 +0200)
extensions/addons.c

index 62030cf133e5f84eaf4986c1d50330d32e1bb56c..91d782965fb6f2092b734071ed52ce0a6cbf5d77 100644 (file)
@@ -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;