diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2010-04-08 14:28:04 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2010-04-08 14:28:04 +0000 |
commit | b4c3765e3400663c4958895b25231169c7f0bc4c (patch) | |
tree | d95bc5898bcbb2289de09d465fd25e4445bde104 | |
parent | 5b1cbd96866c2fa42df2e16fd5e465848b55be45 (diff) | |
download | netsurf-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
-rw-r--r-- | gtk/gtk_toolbar.c | 2 |
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]; |