Oops, we have to make the tests work on other platforms too. Done for GTK+.
This commit is contained in:
parent
afb87bda23
commit
3721bf0c8e
|
@ -52,3 +52,10 @@ void uiQueueMain(void (*f)(void *data), void *data)
|
||||||
q->data = data;
|
q->data = data;
|
||||||
gdk_threads_add_idle(doqueued, q);
|
gdk_threads_add_idle(doqueued, q);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void uiprivReportError(const char *prefix, const char *msg, const char *suffix, bool internal)
|
||||||
|
{
|
||||||
|
g_critical("%s: %s. %s", prefix, msg, suffix);
|
||||||
|
G_BREAKPOINT();
|
||||||
|
abort(); // we shouldn't reach here
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// 22 april 2015
|
// 22 april 2015
|
||||||
|
#define G_LOG_DOMAIN "libui"
|
||||||
#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_40
|
#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_40
|
||||||
#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_40
|
#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_40
|
||||||
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_10
|
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_10
|
||||||
|
|
Loading…
Reference in New Issue