From eafb5fddf84324ebf6b0cc90422f10ee314b5b28 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 7 May 2019 00:05:26 +0200 Subject: capplets: Use gresources for UI files --- capplets/accessibility/at-properties/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'capplets/accessibility/at-properties/main.c') diff --git a/capplets/accessibility/at-properties/main.c b/capplets/accessibility/at-properties/main.c index f046517e..1640eac8 100644 --- a/capplets/accessibility/at-properties/main.c +++ b/capplets/accessibility/at-properties/main.c @@ -28,11 +28,10 @@ create_builder (void) { GtkBuilder *builder; GError *error = NULL; - static const gchar *uifile = UIDIR "/at-enable-dialog.ui"; builder = gtk_builder_new (); - if (gtk_builder_add_from_file (builder, uifile, &error)) { + if (gtk_builder_add_from_resource (builder, "/org/mate/mcc/accessibility/at/at-enable-dialog.ui", &error)) { GObject *object; gchar *prog; -- cgit v1.2.1