[gnome-logs/wip/latest-mockup: 1/6] Do not unref the default GtkCssProvider
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/wip/latest-mockup: 1/6] Do not unref the default GtkCssProvider
- Date: Wed, 9 Oct 2013 09:23:12 +0000 (UTC)
commit 70fe478deb9a4f486dd22456e20f735f9f5a1662
Author: David King <davidk gnome org>
Date: Tue Oct 8 16:02:13 2013 +0100
Do not unref the default GtkCssProvider
src/gl-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gl-window.c b/src/gl-window.c
index af78c21..d0cd13a 100644
--- a/src/gl-window.c
+++ b/src/gl-window.c
@@ -284,7 +284,7 @@ gl_window_init (GlWindow *window)
G_N_ELEMENTS (actions), window);
file = g_file_new_for_uri ("resource:///org/gnome/Logs/gl-style.css");
- provider = gtk_css_provider_get_default ();
+ provider = gtk_css_provider_new ();
g_signal_connect (provider, "parsing-error",
G_CALLBACK (on_provider_parsing_error), NULL);
gtk_css_provider_load_from_file (provider, file, &err);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]