[gedit-cossa] previewer: Plug a leak
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-cossa] previewer: Plug a leak
- Date: Thu, 2 Jun 2011 10:12:09 +0000 (UTC)
commit d856f1d86bd6d0f8c31173f0147d6cff181dbc8a
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jun 2 12:03:46 2011 +0200
previewer: Plug a leak
src/cossa-previewer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/cossa-previewer.c b/src/cossa-previewer.c
index 2d3a4fb..8de6685 100644
--- a/src/cossa-previewer.c
+++ b/src/cossa-previewer.c
@@ -130,6 +130,7 @@ cossa_previewer_init (CossaPreviewer *previewer)
gtk_style_context_add_provider (context,
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+ g_object_unref (provider);
priv->zoom_level = COSSA_ZOOM_1_1;
priv->provider = GTK_CSS_PROVIDER (cossa_style_provider_new ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]