summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am3
-rw-r--r--src/gtk-utils.c18
-rw-r--r--src/gtk-utils.h2
3 files changed, 0 insertions, 23 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 383a4c2..ff381fe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,12 +12,10 @@ endif
if RUN_IN_PLACE
privdatadir = $(top_srcdir)/data/
-uidir = $(top_srcdir)/data/ui
privexecdir = $(abs_top_builddir)/src/commands/
shdir = $(top_srcdir)/src/sh/
else
privdatadir = $(datadir)/engrampa/
-uidir = $(datadir)/engrampa/ui
privexecdir = $(libexecdir)/engrampa/
shdir = $(libexecdir)/engrampa/
endif
@@ -31,7 +29,6 @@ AM_CPPFLAGS = \
-DFR_SYSCONFDIR=\"$(sysconfdir)\" \
-DFR_DATADIR=\"$(datadir)\" \
-DPRIVDATADIR=\"$(privdatadir)\" \
- -DUI_DIR=\"$(uidir)\" \
-DFR_LIBDIR=\"$(libdir)\" \
-DPKG_DATA_DIR=\"$(pkgdatadir)\" \
-DPIXMAPSDIR=\""$(datadir)/pixmaps"\" \
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index 9aeed3b..45fe9bb 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -758,24 +758,6 @@ show_help_dialog (GtkWindow *parent,
GtkBuilder *
-_gtk_builder_new_from_file (const char *ui_file)
-{
- char *filename;
- GtkBuilder *builder;
- GError *error = NULL;
-
- filename = g_build_filename (UI_DIR, ui_file, NULL);
- builder = gtk_builder_new ();
- if (! gtk_builder_add_from_file (builder, filename, &error)) {
- g_warning ("%s\n", error->message);
- g_clear_error (&error);
- }
- g_free (filename);
-
- return builder;
-}
-
-GtkBuilder *
_gtk_builder_new_from_resource (const char *resource_path)
{
GtkBuilder *builder;
diff --git a/src/gtk-utils.h b/src/gtk-utils.h
index 2612702..f75e274 100644
--- a/src/gtk-utils.h
+++ b/src/gtk-utils.h
@@ -80,8 +80,6 @@ int get_folder_pixbuf_size_for_list (GtkWidget *widget);
void show_help_dialog (GtkWindow *parent,
const char *section);
GtkBuilder *
- _gtk_builder_new_from_file (const char *filename);
-GtkBuilder *
_gtk_builder_new_from_resource (const char *resource_path);
GtkWidget *
_gtk_builder_get_widget (GtkBuilder *builder,