From 63d7247a9cace6cc729441508c0cfd82f043ff4d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 27 May 2013 14:18:01 +0100 Subject: fix mismatched option name and variable names block_ads should be block_advertisments to match option name toolbar_status_width should be toolbar_status_size to match option name --- gtk/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/window.c') diff --git a/gtk/window.c b/gtk/window.c index 44b88d241..5edace8f3 100644 --- a/gtk/window.c +++ b/gtk/window.c @@ -593,12 +593,12 @@ static gboolean nsgtk_window_size_allocate_event(GtkWidget *widget, if (g->paned != NULL) { /* Set status bar / scroll bar proportion according to - * option_toolbar_status_width */ + * option_toolbar_status_size */ /* TODO: Probably want to detect when the user adjusts the * status bar width, remember that proportion for the * window, and use that here. */ gtk_paned_set_position(g->paned, - (nsoption_int(toolbar_status_width) * + (nsoption_int(toolbar_status_size) * allocation->width) / 10000); } -- cgit v1.2.3