aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-glade.c
diff options
context:
space:
mode:
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 */