summaryrefslogtreecommitdiff
path: root/src/gtk-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r--src/gtk-utils.c18
1 files changed, 0 insertions, 18 deletions
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;