diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-29 04:51:07 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-11-30 15:58:07 +0100 |
commit | 318e19f570369a1beaabc76b7ca3b018e985f13d (patch) | |
tree | a7bed1587ee5a391d9995218d97dac7647814172 /gsk/gskrenderer.h | |
parent | 5563841603eab5ec4ec7516114bc60b647b0664d (diff) | |
download | gtk+-318e19f570369a1beaabc76b7ca3b018e985f13d.tar.gz |
gskrenderer: Add GError argument to gsk_renderer_realize()
This way, we don't spam criticals when GL is not available. Instead, we
print a useful debug message to stderr and continue with the Cairo renderer.
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Diffstat (limited to 'gsk/gskrenderer.h')
-rw-r--r-- | gsk/gskrenderer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gsk/gskrenderer.h b/gsk/gskrenderer.h index 646ba6dedd..722259f4b9 100644 --- a/gsk/gskrenderer.h +++ b/gsk/gskrenderer.h @@ -63,7 +63,8 @@ GdkDisplay * gsk_renderer_get_display (GskRenderer GDK_AVAILABLE_IN_3_90 gboolean gsk_renderer_realize (GskRenderer *renderer, - GdkWindow *window); + GdkWindow *window, + GError **error); GDK_AVAILABLE_IN_3_90 void gsk_renderer_unrealize (GskRenderer *renderer); |