summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Farfan <fernando@endlessm.com>2013-06-17 15:03:18 -0700
committerFernando Farfan <fernando@endlessm.com>2013-06-17 15:03:18 -0700
commit7814e648c6f9b2818be99ec4d9fc28b179fc67c3 (patch)
tree5f309020bf8174ec8c2411faa5499805c5329a8c
parentd3bab0c4d20aa98a04cdb81d65a9733f73a4c600 (diff)
Fixed missing comma in app-window
[endlessm/eos-sdk#97]
-rw-r--r--endless/eospagemanager.c11
-rw-r--r--test/smoke-tests/app-window.js2
2 files changed, 9 insertions, 4 deletions
diff --git a/endless/eospagemanager.c b/endless/eospagemanager.c
index fd3c4d5..5f92634 100644
--- a/endless/eospagemanager.c
+++ b/endless/eospagemanager.c
@@ -167,12 +167,15 @@ page_info_free (EosPageManagerPageInfo *info)
g_slice_free (EosPageManagerPageInfo, info);
}
+/*
+ * TODO
static void
top_bars_unref (EosPageManagerPageInfo *info)
{
- g_object_unref (info->left_topbar_widget);
- g_object_unref (info->center_topbar_widget);
+ g_object_unref (GTK_WIDGET (info->left_topbar_widget));
+ g_object_unref (GTK_WIDGET (info->center_topbar_widget));
}
+*/
/*
* find_page_info_by_widget:
@@ -324,6 +327,7 @@ eos_page_manager_set_property (GObject *object,
}
}
+/*
static void
eos_page_manager_dispose (GObject *object)
{
@@ -333,6 +337,7 @@ eos_page_manager_dispose (GObject *object)
G_OBJECT_CLASS (eos_page_manager_parent_class)->dispose (object);
}
+*/
static void
eos_page_manager_finalize (GObject *object)
@@ -637,7 +642,7 @@ eos_page_manager_class_init (EosPageManagerClass *klass)
object_class->get_property = eos_page_manager_get_property;
object_class->set_property = eos_page_manager_set_property;
- object_class->dispose = eos_page_manager_dispose;
+ // object_class->dispose = eos_page_manager_dispose;
object_class->finalize = eos_page_manager_finalize;
/* Pass all size requesting and allocation on to the stack */
diff --git a/test/smoke-tests/app-window.js b/test/smoke-tests/app-window.js
index ee1bcf6..42381a8 100644
--- a/test/smoke-tests/app-window.js
+++ b/test/smoke-tests/app-window.js
@@ -191,7 +191,7 @@ const TestApplication = new Lang.Class ({
this._pm.add(this._page0, {
name: "page0",
background_uri: CAT_BACKGROUND_PATH,
- custom_toolbox_widget: this._toolbox
+ custom_toolbox_widget: this._toolbox,
left_topbar_widget: this._left_topbar,
center_topbar_widget: this._center_topbar
});