[gnome-builder] workbench: general cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] workbench: general cleanup
- Date: Sun, 14 Dec 2014 11:35:24 +0000 (UTC)
commit 52044c804c1404a8b06c32395eef67df3099875a
Author: Christian Hergert <christian hergert me>
Date: Sun Dec 14 03:34:22 2014 -0800
workbench: general cleanup
src/workbench/gb-workbench.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index 7e93fd2..f845017 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -803,11 +803,10 @@ gb_workbench_init (GbWorkbench *workbench)
workbench->priv = gb_workbench_get_instance_private (workbench);
workbench->priv->document_manager = gb_document_manager_new ();
- gtk_widget_init_template (GTK_WIDGET (workbench));
+ workbench->priv->command_manager = gb_command_manager_new ();
+ workbench->priv->navigation_list = gb_navigation_list_new (workbench);
- workbench->priv->command_manager =
- g_object_new (GB_TYPE_COMMAND_MANAGER,
- NULL);
+ gtk_widget_init_template (GTK_WIDGET (workbench));
provider = g_object_new (GB_TYPE_COMMAND_GACTION_PROVIDER,
"workbench", workbench,
@@ -818,8 +817,4 @@ gb_workbench_init (GbWorkbench *workbench)
"workbench", workbench,
NULL);
gb_command_manager_add_provider (workbench->priv->command_manager, provider);
-
- workbench->priv->navigation_list = g_object_new (GB_TYPE_NAVIGATION_LIST,
- "workbench", workbench,
- NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]