summaryrefslogtreecommitdiff
path: root/frontends/gtk/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/gtk/window.c')
-rw-r--r--frontends/gtk/window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c
index 9368d7003..647f15fcb 100644
--- a/frontends/gtk/window.c
+++ b/frontends/gtk/window.c
@@ -1408,13 +1408,17 @@ gui_search_web_provider_update(const char *name, struct bitmap *bitmap)
GdkPixbuf *pixbuf = NULL;
if (bitmap != NULL) {
- pixbuf = nsgdk_pixbuf_get_from_surface(bitmap->surface, 16, 16);
+ pixbuf = nsgdk_pixbuf_get_from_surface(bitmap->surface, 32, 32);
}
for (gw = window_list; gw != NULL; gw = gw->next) {
nsgtk_toolbar_set_websearch_image(gw->toolbar, pixbuf);
}
+ if (pixbuf != NULL) {
+ g_object_unref(pixbuf);
+ }
+
return NSERROR_OK;
}