~midori/midori/trunk

« back to all changes in this revision

Viewing changes to midori/midori-browser.c

  • Committer: Christian Dywan
  • Date: 2013-06-19 20:27:53 UTC
  • mto: This revision was merged to the branch mainline in revision 6220.
  • Revision ID: christian.dywan@canonical.com-20130619202753-mzmahpq29x0xl3om
Drop unneeded WebKit < 1.8 version guards

Show diffs side-by-side

added added

removed removed

Lines of Context:
3797
3797
}
3798
3798
 
3799
3799
#ifndef HAVE_WEBKIT2
3800
 
#if WEBKIT_CHECK_VERSION (1, 8, 0)
3801
3800
static void
3802
3801
midori_browser_item_icon_loaded_cb (WebKitFaviconDatabase* database,
3803
3802
                                    const gchar*           frame_uri,
3820
3819
    }
3821
3820
}
3822
3821
#endif
3823
 
#endif
3824
3822
 
3825
3823
static void
3826
3824
midori_browser_queue_item_for_icon (KatzeItem*     item,
3830
3828
    if (katze_item_get_icon (item) != NULL)
3831
3829
        return;
3832
3830
    g_object_set_data_full (G_OBJECT (item), "browser-queue-icon", g_strdup (uri), g_free);
3833
 
    #if WEBKIT_CHECK_VERSION (1, 8, 0)
3834
3831
    g_signal_connect (webkit_get_favicon_database (), "icon-loaded",
3835
3832
        G_CALLBACK (midori_browser_item_icon_loaded_cb), item);
3836
 
    #endif
3837
3833
#endif
3838
3834
}
3839
3835