[gtk+] inspector: Unrealize renderer before unreffing
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Unrealize renderer before unreffing
- Date: Sat, 4 Nov 2017 14:27:25 +0000 (UTC)
commit c5a631b999962e89e256b80231245530e616fc16
Author: Benjamin Otte <otte redhat com>
Date: Sat Nov 4 15:20:04 2017 +0100
inspector: Unrealize renderer before unreffing
See previous patch for a description on why that is necessary.
`
gtk/inspector/general.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index 1c8e18d..54d2e57 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -139,6 +139,7 @@ init_version (GtkInspectorGeneral *gen)
else
renderer = "Unknown";
+ gsk_renderer_unrealize (gsk_renderer);
g_object_unref (gsk_renderer);
gdk_window_destroy (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]