From 68b1d2da557d5af6b7e46d3fb05ede1931a542c5 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 8 Mar 2016 17:48:16 +0000 Subject: remove theme option --- gtk/gui.c | 2 +- gtk/options.h | 3 --- gtk/theme.c | 3 +-- 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'gtk') diff --git a/gtk/gui.c b/gtk/gui.c index 317283f16..ef83f960b 100644 --- a/gtk/gui.c +++ b/gtk/gui.c @@ -271,7 +271,7 @@ static nserror nsgtk_init(int argc, char** argv, char **respath) &arrow_down_pixbuf); if (error != NSERROR_OK) { arrow_down_pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, - false, 8, 16, 16); + false, 8, 8, 32); } /* Toolbar inicies file */ diff --git a/gtk/options.h b/gtk/options.h index 63f2ad177..ac642c153 100644 --- a/gtk/options.h +++ b/gtk/options.h @@ -68,8 +68,5 @@ NSOPTION_STRING(hotlist_path, NULL) /* Developer information viewer display method */ NSOPTION_INTEGER(developer_view, 0) -/* currently selected theme */ -NSOPTION_INTEGER(current_theme, 0) - /* where tabs are positioned */ NSOPTION_INTEGER(position_tab, 0) diff --git a/gtk/theme.c b/gtk/theme.c index f373aaa4d..deb7d9ae8 100644 --- a/gtk/theme.c +++ b/gtk/theme.c @@ -185,8 +185,7 @@ nsgtk_theme_image_default(nsgtk_toolbar_button tbbutton, GtkIconSize iconsize) #undef BUTTON_IMAGE case HISTORY_BUTTON: - image = GTK_IMAGE(nsgtk_image_new_from_pixbuf_icon(arrow_down_pixbuf, - iconsize)); + image = GTK_IMAGE(gtk_image_new_from_pixbuf(arrow_down_pixbuf)); break; default: -- cgit v1.2.3