summaryrefslogtreecommitdiff
path: root/src/dlg-prop.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-30 17:03:35 +0100
committerraveit65 <[email protected]>2020-03-25 13:28:50 +0100
commit16ae921196f21a6f9c95f27fe94bf61f0df9eda1 (patch)
tree19e7ec574332e162a48ef29d4d234857ea8346c7 /src/dlg-prop.c
parentfbcbacb489100dbb876de3b2f5226f87e8f10092 (diff)
downloadengrampa-16ae921196f21a6f9c95f27fe94bf61f0df9eda1.tar.bz2
engrampa-16ae921196f21a6f9c95f27fe94bf61f0df9eda1.tar.xz
Terminate the application if the resource doesn't exists
Diffstat (limited to 'src/dlg-prop.c')
-rw-r--r--src/dlg-prop.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dlg-prop.c b/src/dlg-prop.c
index b7087f2..59cfca2 100644
--- a/src/dlg-prop.c
+++ b/src/dlg-prop.c
@@ -72,12 +72,7 @@ dlg_prop (FrWindow *window)
double ratio;
data = g_new (DialogData, 1);
-
- data->builder = _gtk_builder_new_from_resource ("properties.ui");
- if (data->builder == NULL) {
- g_free (data);
- return;
- }
+ data->builder = gtk_builder_new_from_resource (ENGRAMPA_RESOURCE_UI_PATH G_DIR_SEPARATOR_S "properties.ui");
/* Get the widgets. */