[goffice] make sure that gog_graph_populate_editor unrefs the GtkBuilder.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] make sure that gog_graph_populate_editor unrefs the GtkBuilder.
- Date: Fri, 17 Jun 2011 15:12:13 +0000 (UTC)
commit 34eca344750372ddc7270ed139177a362a012397
Author: Jean Brefort <jean brefort normalesup org>
Date: Fri Jun 17 17:16:06 2011 +0200
make sure that gog_graph_populate_editor unrefs the GtkBuilder.
goffice/graph/gog-graph.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/goffice/graph/gog-graph.c b/goffice/graph/gog-graph.c
index a87fca6..5b55ed8 100644
--- a/goffice/graph/gog-graph.c
+++ b/goffice/graph/gog-graph.c
@@ -252,10 +252,10 @@ gog_graph_populate_editor (GogObject *gobj,
box = go_gtk_builder_get_widget (gui, "gog_graph_prefs");
go_editor_add_page (editor, box, _("Theme"));
- g_object_unref (gui);
g_slist_free (theme_names);
}
+ g_object_unref (gui);
go_editor_set_store_page (editor, &graph_pref_page);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]