aboutsummaryrefslogtreecommitdiff
path: root/rose.c
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2022-12-12 15:38:48 +0000
committerNunoSempere <nuno.sempere@protonmail.com>2022-12-12 15:38:48 +0000
commita69d72f42b904725da949d5e10f01b45b1614ef9 (patch)
treea977f5c16dc6c8ca35ef481ec7f4d33e6064522e /rose.c
parent374128fccc4f5725355736bf6008697318944101 (diff)
tweak: allow configurable width and height
and set a default of 500, 400
Diffstat (limited to 'rose.c')
-rw-r--r--rose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rose.c b/rose.c
index 439634b..15baf7d 100644
--- a/rose.c
+++ b/rose.c
@@ -296,7 +296,7 @@ void setup(GtkNotebook *notebook, const char *uri)
bar = GTK_HEADER_BAR(gtk_header_bar_new());
search_buf = GTK_ENTRY_BUFFER(gtk_entry_buffer_new("", 0));
search = GTK_ENTRY(gtk_entry_new_with_buffer(search_buf));
-
+ gtk_window_set_default_size(window, WIDTH, HEIGHT);
window_init(notebook);
notebook_init(notebook, uri);