diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-09-24 04:52:45 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-09-24 04:52:45 +0800 |
commit | 1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1 (patch) | |
tree | 845752ffe913d1fab7adcc570cc316f94f686500 | |
parent | 19ebbdaaaae3a316b7077bb60b59ffec69f0c238 (diff) | |
download | gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.gz gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.bz2 gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.lz gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.xz gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.tar.zst gsoc2013-epiphany-1908bad1bb4db82f36d36c1ffe05ce92fbeb27a1.zip |
Accept "Module" argument.
2005-09-23 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-python-loader.c: (impl_get_object):
Accept "Module" argument.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-python-loader.c | 6 |
2 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2005-09-23 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-python-loader.c: (impl_get_object): + + Accept "Module" argument. + +2005-09-23 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-shlib-loader.c: (impl_get_object) (ephy_shlib_loader_class_init): diff --git a/src/ephy-python-loader.c b/src/ephy-python-loader.c index e6c8c5dc5..ff23bd7ce 100644 --- a/src/ephy-python-loader.c +++ b/src/ephy-python-loader.c @@ -44,7 +44,11 @@ impl_get_object (EphyLoader *eloader, char *filename; GObject *object; - filename = g_datalist_get_data (attributes, "module"); + filename = g_datalist_get_data (attributes, "Module"); + if (filename == NULL) + { + filename = g_datalist_get_data (attributes, "module"); + } if (filename == NULL) { g_warning ("NULL module name!\n"); |