}
#endif
-#if HAVE_LIBSOUP_2_23_1
+#if HAVE_LIBSOUP
/* The following code hooks up to any created cookie jar in order to
load and save cookies. This is *not* a generally advisable technique
but merely a preliminary workaround until WebKit exposes its
return 1;
}
- #if HAVE_LIBSOUP_2_23_1
+ #if HAVE_LIBSOUP
/* This is a nasty trick that allows us to manipulate cookies
even without having a pointer to the jar. */
soup_cookie_jar_get_type ();
gtk_widget_set_sensitive (entry, preferred_encoding == MIDORI_ENCODING_CUSTOM);
}
-#if HAVE_LIBSOUP_2_23_1
+#if HAVE_LIBSOUP
static void
midori_preferences_notify_identify_as_cb (MidoriWebSettings* settings,
GParamSpec* pspec,
WIDGET_ADD (button, 1, 2, 5, 6);
/* Page "Network" */
- #if HAVE_LIBSOUP_2_23_1
+ #if HAVE_LIBSOUP
/* If a cookie jar was created, WebKit is using Soup */
if (g_type_get_qdata (SOUP_TYPE_COOKIE_JAR,
g_quark_from_static_string ("midori-has-jar")))
conf.check_message_custom ('single instance', 'support', single_instance)
if option_enabled ('libsoup'):
- check_pkg ('libsoup-2.4', '2.23.0', False)
- check_pkg ('libsoup-2.4', '2.23.1', False, var='LIBSOUP_2_23_1')
+ check_pkg ('libsoup-2.4', '2.23.1', False)
check_pkg ('libsoup-2.4', '2.25.2', False, var='LIBSOUP_2_25_2')
libsoup = ['not available','yes'][conf.env['HAVE_LIBSOUP'] == 1]
else: