Oops, we have to make the tests work on other platforms too. Done for GTK+.

This commit is contained in:
Pietro Gagliardi 2019-05-26 23:25:08 -04:00
parent afb87bda23
commit 3721bf0c8e
2 changed files with 8 additions and 0 deletions

View File

@ -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
}

View File

@ -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