summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-07 23:32:07 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-13 15:05:41 +0100
commit95c80f76e565ed3943008593254b527550d2e1e0 (patch)
tree7683caff4306f7aaf1ea3e4bdbce2c97f6fa6d2c /src/caja-window.c
parentd125a70db28b8f37543ef93469f4736859afb53b (diff)
downloadcaja-95c80f76e565ed3943008593254b527550d2e1e0.tar.bz2
caja-95c80f76e565ed3943008593254b527550d2e1e0.tar.xz
GTK3 window: port to GtkStyleContext, plug a leak
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=465f576
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 6188a2bd..6a1cb402 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -162,6 +162,8 @@ caja_window_init (CajaWindow *window)
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
+
+ g_object_unref (provider);
#endif
window->details = G_TYPE_INSTANCE_GET_PRIVATE (window, CAJA_TYPE_WINDOW, CajaWindowDetails);