aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-glade.c
diff options
context:
space:
mode:
authorAdam Hooper <adamh@src.gnome.org>2004-01-22 04:39:19 +0800
committerAdam Hooper <adamh@src.gnome.org>2004-01-22 04:39:19 +0800
commita37e3c5e53cba57d1338880a7dec1c035779b742 (patch)
treed480c4c61273f8b1d4b6f1c5f667a6a73c893332 /lib/ephy-glade.c
parentd9cb8655babc4b628f16869b0f476f9fe49acab3 (diff)
downloadgsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.gz
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.bz2
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.lz
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.xz
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.zst
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.zip
Call ephy_file() explicitly for each glade file, letting extensions load glade files from any path
Diffstat (limited to 'lib/ephy-glade.c')
-rw-r--r--lib/ephy-glade.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/ephy-glade.c b/lib/ephy-glade.c
index beb91827f..0c782bae9 100644
--- a/lib/ephy-glade.c
+++ b/lib/ephy-glade.c
@@ -38,15 +38,11 @@ ephy_glade_widget_new (const char *file, const char *widget_name,
GtkWidget **root, gpointer data)
{
GladeXML *gxml;
- const char *glade_file;
-
- glade_file = ephy_file (file);
- g_return_val_if_fail (glade_file != NULL, NULL);
/* build the widget */
/* note that libglade automatically caches the parsed file,
* so we don't need to worry about the efficiency of this */
- gxml = glade_xml_new (glade_file, widget_name, NULL);
+ gxml = glade_xml_new (file, widget_name, NULL);
g_return_val_if_fail (gxml != NULL, NULL);
/* lookup the root widget if requested */