Drop Glib version guards from unit tests

This commit is contained in:
Christian Dywan 2009-03-16 01:30:40 +01:00
parent 8e7c445482
commit 5eab5f5bda
5 changed files with 0 additions and 20 deletions

View file

@ -16,8 +16,6 @@
#include "midori.h"
#include "midori-bookmarks.h"
#if GLIB_CHECK_VERSION(2, 16, 0)
static void
bookmarks_panel_create (void)
{
@ -157,5 +155,3 @@ main (int argc,
return g_test_run ();
}
#endif

View file

@ -17,8 +17,6 @@
#include "midori-stock.h"
#include "sokoke.h"
#if GLIB_CHECK_VERSION (2, 16, 0)
static void
browser_create (void)
{
@ -62,5 +60,3 @@ main (int argc,
return g_test_run ();
}
#endif

View file

@ -15,8 +15,6 @@
#include "midori.h"
#if GLIB_CHECK_VERSION(2, 16, 0)
typedef struct
{
const gchar* uri;
@ -293,5 +291,3 @@ main (int argc,
return g_test_run ();
}
#endif

View file

@ -15,8 +15,6 @@
#include "midori.h"
#if GLIB_CHECK_VERSION(2, 16, 0)
const gpointer magic = (gpointer)0xdeadbeef;
static void
@ -137,5 +135,3 @@ main (int argc,
return g_test_run ();
}
#endif

View file

@ -17,8 +17,6 @@
#include "midori-bookmarks.h"
#include "sokoke.h"
#if GLIB_CHECK_VERSION(2, 16, 0)
#define pspec_is_writable(pspec) (pspec->flags & G_PARAM_WRITABLE \
&& !(pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY)))
@ -185,5 +183,3 @@ main (int argc,
return g_test_run ();
}
#endif