From 5061687867ee9ae90b23469d7d6ac7f4c9c8424c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 20 May 2016 15:23:05 +0100 Subject: store toolbar config in standard options instead of a separate file --- frontends/gtk/gui.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'frontends/gtk/gui.c') diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c index e705918bc..60c8e792a 100644 --- a/frontends/gtk/gui.c +++ b/frontends/gtk/gui.c @@ -74,8 +74,6 @@ bool nsgtk_complete = false; -char *toolbar_indices_file_location; - char *nsgtk_config_home; /* exported global defined in gtk/gui.h */ GdkPixbuf *favicon_pixbuf; /** favicon default pixbuf */ @@ -276,12 +274,6 @@ static nserror nsgtk_init(int argc, char** argv, char **respath) false, 8, 8, 32); } - /* Toolbar inicies file */ - toolbar_indices_file_location = filepath_find(respath, - "toolbarIndices"); - LOG("Using '%s' as custom toolbar settings file", - toolbar_indices_file_location); - /* initialise throbber */ error = nsgtk_throbber_init(); if (error != NSERROR_OK) { @@ -457,8 +449,6 @@ static void gui_quit(void) nsgtk_history_destroy(); nsgtk_hotlist_destroy(); - free(toolbar_indices_file_location); - free(nsgtk_config_home); gtk_fetch_filetype_fin(); -- cgit v1.2.3