summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-03-08 17:48:16 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-03-08 17:48:16 (GMT)
commit68b1d2da557d5af6b7e46d3fb05ede1931a542c5 (patch)
treef3687c1dc142f098de6d61ee6c16fdc1193f43c3 /gtk
parent1e2584aa144b0b411bb37489cc40a7a98859479c (diff)
downloadnetsurf-68b1d2da557d5af6b7e46d3fb05ede1931a542c5.tar.gz
netsurf-68b1d2da557d5af6b7e46d3fb05ede1931a542c5.tar.bz2
remove theme option
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gui.c2
-rw-r--r--gtk/options.h3
-rw-r--r--gtk/theme.c3
3 files changed, 2 insertions, 6 deletions
diff --git a/gtk/gui.c b/gtk/gui.c
index 317283f..ef83f96 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 63f2ad1..ac642c1 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 f373aaa..deb7d9a 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: