[epiphany] Use the new syntax for seed imports
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany] Use the new syntax for seed imports
- Date: Thu, 15 Oct 2009 14:38:55 +0000 (UTC)
commit 81b8ace84e3485765491a26ccbfa033d577a13b9
Author: Iain Nicol <iain thenicols net>
Date: Thu Oct 15 15:06:14 2009 +0100
Use the new syntax for seed imports
https://bugzilla.gnome.org/show_bug.cgi?id=598562
Signed-off-by: Xan Lopez <xan gnome org>
src/ephy-seed-extension.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-seed-extension.c b/src/ephy-seed-extension.c
index 64f0e7d..7fd444d 100644
--- a/src/ephy-seed-extension.c
+++ b/src/ephy-seed-extension.c
@@ -267,8 +267,8 @@ ephy_seed_extension_class_init (EphySeedExtensionClass *klass)
if (global_eng == NULL) {
global_eng = seed_init (NULL, NULL);
seed_simple_evaluate (global_eng->context,
- "Seed.import_namespace('Gtk');"
- "Seed.import_namespace('Epiphany');",
+ "Gtk = imports.gi.Gtk;"
+ "Epiphany = imports.gi.Epiphany;",
NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]