aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h1
-rw-r--r--makefile2
-rw-r--r--rose.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/config.h b/config.h
index 6dde0c7..6f8d4c4 100644
--- a/config.h
+++ b/config.h
@@ -15,6 +15,7 @@
#define WIDTH 1920
#define HEIGHT 1080
+#define SEARCH_BAR_SIZE 1200
#define KEY(x) GDK_KEY_##x
#define ZOOM 1.4 /* Starting zoom level.*/
#define ZOOM_VAL .1 /* Zooming value in zoomin/zoomout functions */
diff --git a/makefile b/makefile
index 4d28028..ec755d5 100644
--- a/makefile
+++ b/makefile
@@ -6,7 +6,7 @@
# make uninstall
## C compiler
-CC=clang
+CC=gcc
## Main file
SRC=rose.c
diff --git a/rose.c b/rose.c
index 75f90f7..f19c88f 100644
--- a/rose.c
+++ b/rose.c
@@ -409,7 +409,7 @@ void window_init(GtkNotebook* notebook)
GTK_STYLE_PROVIDER(css), 800);
gtk_entry_buffer_new("", 0);
gtk_entry_set_alignment(search, 0.48);
- gtk_widget_set_size_request(GTK_WIDGET(search), 1200, -1);
+ gtk_widget_set_size_request(GTK_WIDGET(search), SEARCH_BAR_SIZE, -1);
gtk_header_bar_set_custom_title(bar, GTK_WIDGET(search));
gtk_window_set_titlebar(window, GTK_WIDGET(bar));
g_signal_connect(search, "activate", G_CALLBACK(search_activate), notebook);