glib_compat.h: emulate g_prefix_error()
This commit is contained in:
parent
2a859f870a
commit
c620fd42f4
|
@ -48,6 +48,12 @@ g_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data)
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION(2,16,0)
|
#if !GLIB_CHECK_VERSION(2,16,0)
|
||||||
|
|
||||||
|
static inline void
|
||||||
|
g_prefix_error(G_GNUC_UNUSED GError **error_r,
|
||||||
|
G_GNUC_UNUSED const gchar *format, ...)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
g_propagate_prefixed_error(GError **dest_r, GError *src,
|
g_propagate_prefixed_error(GError **dest_r, GError *src,
|
||||||
G_GNUC_UNUSED const gchar *format, ...)
|
G_GNUC_UNUSED const gchar *format, ...)
|
||||||
|
|
Loading…
Reference in New Issue