summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2010-04-08 14:28:04 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2010-04-08 14:28:04 +0000
commitb4c3765e3400663c4958895b25231169c7f0bc4c (patch)
treed95bc5898bcbb2289de09d465fd25e4445bde104 /gtk
parent5b1cbd96866c2fa42df2e16fd5e465848b55be45 (diff)
downloadnetsurf-b4c3765e3400663c4958895b25231169c7f0bc4c.tar.gz
netsurf-b4c3765e3400663c4958895b25231169c7f0bc4c.tar.bz2
Pass an empty string as the label for the local history button. While the GTK docs say NULL is reasonable, it causes the ATK layer to produce runtime assertions.
svn path=/trunk/netsurf/; revision=10313
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk_toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtk_toolbar.c b/gtk/gtk_toolbar.c
index 7ad835c41..92bb21f93 100644
--- a/gtk/gtk_toolbar.c
+++ b/gtk/gtk_toolbar.c
@@ -700,7 +700,7 @@ GtkWidget *nsgtk_toolbar_make_widget(nsgtk_scaffolding *g,
#undef MAKE_STOCKBUTTON
case HISTORY_BUTTON:
return GTK_WIDGET(gtk_tool_button_new(GTK_WIDGET(
- theme->image[HISTORY_BUTTON]), NULL));
+ theme->image[HISTORY_BUTTON]), ""));
case URL_BAR_ITEM: {
char imagefile[strlen(res_dir_location) + SLEN("favicon.png")
+ 1];