From 3326c61d20d7af6b2abc74c1447bfad3cfbdc8d3 Mon Sep 17 00:00:00 2001 From: Peter Hofmann Date: Sun, 9 Nov 2014 13:14:15 +0100 Subject: Fix deprecation warning about stock IDs --- browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser.c b/browser.c index e784ad1..4fb8e9e 100644 --- a/browser.c +++ b/browser.c @@ -402,7 +402,8 @@ download_handle(WebKitDownload *download, gchar *suggested_filename, gpointer da downloads_indicated++; g_timeout_add(500, download_reset_indicator, c); - tb = gtk_tool_button_new_from_stock(GTK_STOCK_DELETE); + tb = gtk_tool_button_new(NULL, NULL); + gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(tb), "gtk-delete"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(tb), suggested_filename); gtk_toolbar_insert(GTK_TOOLBAR(dm.toolbar), tb, 0); gtk_widget_show_all(dm.toolbar); -- cgit v1.2.3