summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-06 14:03:58 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:50 +0200
commit74fe70cc51c2a478f1266cc7f6eb896125276a9b (patch)
treeb7d0a6f2010ebe44950a269c34fafd7b6a00b445
parent202a9c5ad39758616f73e23aabcbe43aaebea26b (diff)
downloadcaja-74fe70cc51c2a478f1266cc7f6eb896125276a9b.tar.bz2
caja-74fe70cc51c2a478f1266cc7f6eb896125276a9b.tar.xz
caja-file-management-properties: use gtk_builder_new_from_file
-rw-r--r--src/caja-file-management-properties.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c
index 6e6bb4f2..fd15c74f 100644
--- a/src/caja-file-management-properties.c
+++ b/src/caja-file-management-properties.c
@@ -1273,11 +1273,7 @@ caja_file_management_properties_dialog_show (GCallback close_callback, GtkWindow
{
GtkBuilder *builder;
- builder = gtk_builder_new ();
-
- gtk_builder_add_from_file (builder,
- UIDIR "/caja-file-management-properties.ui",
- NULL);
+ builder = gtk_builder_new_from_file (UIDIR "/caja-file-management-properties.ui");
g_signal_connect (G_OBJECT (gtk_builder_get_object (builder, "file_management_dialog")),
"response", close_callback, NULL);