Allow to compile with libsoup<2.42.2 (#49).
authorDaniel Carl <danielcarl@gmx.de>
Thu, 16 Jan 2014 23:28:38 +0000 (00:28 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 16 Jan 2014 23:29:40 +0000 (00:29 +0100)
src/main.h

index ccf09b3..7c2f5c3 100644 (file)
 #define VB_WIDGET_SET_STATE(w, s)       (gtk_widget_set_state(w, s))
 #endif
 
+#ifndef SOUP_CHECK_VERSION
+#define SOUP_CHECK_VERSION(major, minor, micro) (0)
+#endif
+
 /* the special mark ' must be the first in the list for easiest lookup */
 #define VB_MARK_CHARS   "'abcdefghijklmnopqrstuvwxyz"
 #define VB_MARK_TICK    0