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
This commit is contained in:
Rob Kendrick 2010-04-08 14:28:04 +00:00
parent 5b1cbd9686
commit b4c3765e34

View File

@ -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];