From 1490b52a6b96b6a69a0c4fe9e0515dc717425128 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 22 Mar 2012 09:34:34 +0000 Subject: NetSurf options rework (a=vince r=daniels,jmb) svn path=/trunk/netsurf/; revision=13548 --- gtk/theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/theme.c') diff --git a/gtk/theme.c b/gtk/theme.c index 6284e92d1..26206110e 100644 --- a/gtk/theme.c +++ b/gtk/theme.c @@ -29,7 +29,7 @@ #include "gtk/menu.h" #include "gtk/theme.h" #include "gtk/window.h" -#include "gtk/options.h" +#include "desktop/options.h" #include "gtk/dialogs/options.h" #include "utils/container.h" #include "utils/log.h" @@ -156,7 +156,7 @@ static bool nsgtk_theme_verify(const char *themename) void nsgtk_theme_init(void) { size_t len; - if (option_current_theme == 0) { + if (nsoption_int(current_theme) == 0) { return; } @@ -174,7 +174,7 @@ void nsgtk_theme_init(void) if (buf[0] == '\0') continue; - if (row_count++ == option_current_theme) { + if (row_count++ == nsoption_int(current_theme)) { if (current_theme_name != NULL) free(current_theme_name); /* clear the '\n' ["\n\0"->"\0\0"] */ -- cgit v1.2.3