diff options
Diffstat (limited to 'glib/gerror.h')
-rw-r--r-- | glib/gerror.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/glib/gerror.h b/glib/gerror.h index 7eafa94c2..458c20a7d 100644 --- a/glib/gerror.h +++ b/glib/gerror.h @@ -60,6 +60,11 @@ void g_set_error (GError **err, const gchar *format, ...) G_GNUC_PRINTF (4, 5); +/* if (dest) *dest = src; also has some sanity checks. + */ +void g_propagate_error (GError **dest, + GError *src); + /* if (err && *err) { g_error_free(*err); *err = NULL; } */ void g_clear_error (GError **err); |