mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-13 06:19:21 +03:00
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:
parent
5b1cbd9686
commit
b4c3765e34
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user