From 9dda522a26fb2b78bc42f1b46340250231362170 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 14 Jan 2025 13:18:18 +0100 Subject: [PATCH] remove flash effect by changing load order --- plugins/readability/readability.c | 2 +- plugins/readability/readability.h | 2 +- rosenrot4.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/readability/readability.c b/plugins/readability/readability.c index 26ba109..4bab3bd 100644 --- a/plugins/readability/readability.c +++ b/plugins/readability/readability.c @@ -1,7 +1,7 @@ #include #include #include -#define READABILITY_N 88229 + 1000 +#define READABILITY_N 88212 + 1000 void read_readability_js(char* string) { diff --git a/plugins/readability/readability.h b/plugins/readability/readability.h index d642940..0507523 100644 --- a/plugins/readability/readability.h +++ b/plugins/readability/readability.h @@ -1,5 +1,5 @@ #pragma once -#define READABILITY_N 88229 + 1000 +#define READABILITY_N 88212 + 1000 void read_readability_js(char* string); diff --git a/rosenrot4.c b/rosenrot4.c index 2f193f6..0b2f1f6 100644 --- a/rosenrot4.c +++ b/rosenrot4.c @@ -487,8 +487,8 @@ int main(int argc, char** argv) // Show to user // The first two commands are redundant with notebook_create_new_tab - gtk_window_present(window); - gtk_widget_set_visible(GTK_WIDGET(window), 1); + // gtk_window_present(window); + // gtk_widget_set_visible(GTK_WIDGET(window), 1); if (argc != 0) gtk_widget_set_visible(GTK_WIDGET(bar.widget), 0); // Deal with more tabs, if any