[balsa/wip/gtk4: 349/351] Use GResource instead of installed files
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gtk4: 349/351] Use GResource instead of installed files
- Date: Wed, 23 May 2018 21:46:19 +0000 (UTC)
commit deb77c19bd81022bf9c15f90ff528075ddbacc87
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Thu May 10 20:20:40 2018 -0400
Use GResource instead of installed files
Current Balsa uses installed ui/*.ui files to define the user interfaces
for the main window, the message window, the compose window, and the
view-source window. Those files can be replaced by GResource objects,
which are part of the binary file, so that accessing them requires no
additional file system access.
This commit:
• changes the C code to use GResources instead of installed files;
• changes various meson.build files to generate the necessary C files
instead of installing XML ui files (not difficult);
• changes configure.ac and various Makefile.am files for the same
purpose (far more difficult, for me!).
src/main-window.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index 1e30a5d..9a77244 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2143,11 +2143,8 @@ bw_set_menus(BalsaWindow * window)
err->message);
g_error_free(err);
}
-<<<<<<< HEAD
g_free(ui_file);
-=======
->>>>>>> 3daecc95... Use GResource instead of installed files
g_object_unref(builder);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]