diff options
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | makefile | 2 | ||||
-rw-r--r-- | rose.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -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 */ @@ -6,7 +6,7 @@ # make uninstall ## C compiler -CC=clang +CC=gcc ## Main file SRC=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); |