]> spindle.queued.net Git - midori/commitdiff
Guards around midori_browser_add_download_item
authorChristian Dywan <christian@twotoasts.de>
Tue, 20 Apr 2010 19:38:02 +0000 (21:38 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 20 Apr 2010 19:38:02 +0000 (21:38 +0200)
The function is guarded already but of course the declaration
needs to be guarded as well.

midori/midori-browser.c

index 1b2f883d3454415eaa5c7cb49680608016bda245..65647f0f34b2e95fd3b8469854c811fcd6aa851d 100644 (file)
@@ -198,9 +198,11 @@ static void
 midori_browser_set_bookmarks (MidoriBrowser* browser,
                               KatzeArray*    bookmarks);
 
+#if WEBKIT_CHECK_VERSION (1, 1, 3)
 static void
 midori_browser_add_download_item (MidoriBrowser*  browser,
                                   WebKitDownload* download);
+#endif
 
 GdkPixbuf*
 midori_search_action_get_icon (KatzeItem*    item,