aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
-rw-r--r--makefile3
-rw-r--r--rose.c2
3 files changed, 11 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8ba8a4c..856c9d5 100644
--- a/README.md
+++ b/README.md
@@ -67,11 +67,16 @@ I just found out that you can inspect a GTK application with the GTK explorer if
### Known bugs/gotchas.
-- [x] ~~Doesn't work with when Spanish is selected as the language, for some reason~~ => Previously misdiagnosed. The real issue was that it freezes when interacting with [Espanso](https://espanso.org/) substitutions, which I had set-up automatically on my machine when using words containing an ñ, like my own name, Nuño.
-- [ ] At some point, I tried to install libsoup-3 and borked some unknown installation option/paths. So now I need to run rose with `GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose` (or put `export GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/` in my .bashrc). This won't affect new users though, just double checked on a fresh machine.
+General:
+
- [ ] By default the searchbar is pretty gigantic. I've made this so because I'm a bit myopic, but also work with my laptop in a laptop stand. Anyways, if you are a more normal person you can change this in the style.css.
- [ ] The style.css usage isn't updated until installation. This is because by default rose uses the theme located in /usr/share/themes/rose/style.css, and that file isn't updated until make install.
+About my own system:
+
+- [x] ~~Doesn't work with when Spanish is selected as the language, for some reason~~ => Previously misdiagnosed. The real issue was that it freezes when interacting with [Espanso](https://espanso.org/) substitutions, which I had set-up automatically on my machine when using words containing an ñ, like my own name, Nuño.
+- [ ] At some point, I tried to install libsoup-3 and borked some unknown installation option/paths. So now I need to run rose with `GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose` (or put `export GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/` in my .bashrc). This won't affect new users though, just double checked on a fresh machine.
+
### To do
#### Quality of life:
diff --git a/makefile b/makefile
index 329f3f9..ee78938 100644
--- a/makefile
+++ b/makefile
@@ -72,6 +72,9 @@ build: $(SRC) $(PLUGS) $(CONFIG)
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/
$(CC) $(WARNINGS) $(OPTIMIZED) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o rose $(LIBS) $(ADBLOCK)
+lint:
+ clang-tidy $(SRC) $(PLUGS) -- -Wall -O3 `pkg-config --cflags 'webkit2gtk-4.0'` -o rose `pkg-config --libs 'webkit2gtk-4.0'`
+
inspect: build
GTK_DEBUG=interactive ./rose
diff --git a/rose.c b/rose.c
index b7d8630..a8a4253 100644
--- a/rose.c
+++ b/rose.c
@@ -488,7 +488,7 @@ void setup(GtkNotebook* notebook, int argc, char** argv)
int main(int argc, char** argv)
{
- GtkNotebook* notebook;
+ GtkNotebook* notebook = NULL;
gtk_init(NULL, NULL);
setup(notebook, argc, argv);
gtk_main();