summaryrefslogtreecommitdiff
path: root/frontends/gtk/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-09-15 23:45:06 +0100
committerVincent Sanders <vince@kyllikki.org>2019-09-15 23:45:06 +0100
commit7c552edf87f93387321bcd003c825d8c4ba68d00 (patch)
tree8056c6c4b5b0cad922283b2d2944e492aac9f5e4 /frontends/gtk/gui.c
parentc67c4aa999f44b728bc508ff24060ea605f17e1e (diff)
downloadnetsurf-7c552edf87f93387321bcd003c825d8c4ba68d00.tar.gz
netsurf-7c552edf87f93387321bcd003c825d8c4ba68d00.tar.bz2
ensure pixbuf references are updated correctly to avoid leaks
Diffstat (limited to 'frontends/gtk/gui.c')
-rw-r--r--frontends/gtk/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c
index 205c5481b..a87ef7281 100644
--- a/frontends/gtk/gui.c
+++ b/frontends/gtk/gui.c
@@ -258,10 +258,10 @@ static nserror set_defaults(struct nsoption_s *defaults)
*/
static nserror nsgtk_add_named_icons_to_theme(void)
{
- #if GTK_CHECK_VERSION(3,14,0)
+#if GTK_CHECK_VERSION(3,14,0)
gtk_icon_theme_add_resource_path(gtk_icon_theme_get_default(),
"/org/netsurf/icons");
- #else
+#else
GdkPixbuf *pixbuf;
nserror res;