diff options
Diffstat (limited to 'src/dlg-new.c')
-rw-r--r-- | src/dlg-new.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/dlg-new.c b/src/dlg-new.c index 7412dfa..fbc1e8d 100644 --- a/src/dlg-new.c +++ b/src/dlg-new.c @@ -272,13 +272,7 @@ dlg_new_archive (FrWindow *window, int i; data = g_new0 (DlgNewData, 1); - - data->builder = _gtk_builder_new_from_resource ("new.ui"); - if (data->builder == NULL) { - g_free (data); - return NULL; - } - + data->builder = gtk_builder_new_from_resource (ENGRAMPA_RESOURCE_UI_PATH G_DIR_SEPARATOR_S "new.ui"); data->window = window; data->supported_types = supported_types; sort_mime_types_by_description (data->supported_types); |