aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2022-12-12 15:37:31 +0000
committerNunoSempere <nuno.sempere@protonmail.com>2022-12-12 15:37:31 +0000
commit374128fccc4f5725355736bf6008697318944101 (patch)
tree08eb67e89954235f7d5a492ef85ee2376fc1ae09
parent0787f62e1676ebc6d295d5eb82eab8532dcf204f (diff)
tweak: boot up with the correct zoom
-rw-r--r--rose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rose.c b/rose.c
index 326ef8d..439634b 100644
--- a/rose.c
+++ b/rose.c
@@ -305,6 +305,8 @@ void setup(GtkNotebook *notebook, const char *uri)
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(notebook));
gtk_widget_show_all(GTK_WIDGET(window));
gtk_widget_hide(GTK_WIDGET(bar));
+ webkit_web_view_set_zoom_level(notebook_get_webview(notebook), ZOOM);
+
}
int main(int argc, char **argv)