diff options
author | rbuj <[email protected]> | 2019-05-07 00:05:26 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-05-11 00:59:53 +0000 |
commit | eafb5fddf84324ebf6b0cc90422f10ee314b5b28 (patch) | |
tree | b7569aab227398638c9504056c1892bc8ea605cd /capplets/keybindings/mate-keybinding-properties.c | |
parent | 962f1b0464dfcac6223b6ae2b8e8228863800ea2 (diff) | |
download | mate-control-center-eafb5fddf84324ebf6b0cc90422f10ee314b5b28.tar.bz2 mate-control-center-eafb5fddf84324ebf6b0cc90422f10ee314b5b28.tar.xz |
capplets: Use gresources for UI files
Diffstat (limited to 'capplets/keybindings/mate-keybinding-properties.c')
-rw-r--r-- | capplets/keybindings/mate-keybinding-properties.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c index cf1891d2..3a8eefc2 100644 --- a/capplets/keybindings/mate-keybinding-properties.c +++ b/capplets/keybindings/mate-keybinding-properties.c @@ -104,9 +104,8 @@ create_builder (void) { GtkBuilder *builder = gtk_builder_new(); GError *error = NULL; - static const gchar *uifile = MATECC_UI_DIR "/mate-keybinding-properties.ui"; - if (gtk_builder_add_from_file (builder, uifile, &error) == 0) { + if (gtk_builder_add_from_resource (builder, "/org/mate/mcc/keybindings/mate-keybinding-properties.ui", &error) == 0) { g_warning ("Could not load UI: %s", error->message); g_error_free (error); g_object_unref (builder); |