diff options
author | Peter Hofmann <scm@uninformativ.de> | 2014-11-09 13:14:15 +0100 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2014-11-09 13:39:35 +0100 |
commit | 3326c61d20d7af6b2abc74c1447bfad3cfbdc8d3 (patch) | |
tree | 269a751dd9cd1f4afe7c37bb5ae24500577a246a | |
parent | 8e3a4fcc4380c26c466d49fc07356816c69b13f9 (diff) | |
download | lariza-3326c61d20d7af6b2abc74c1447bfad3cfbdc8d3.tar.gz |
Fix deprecation warning about stock IDs
-rw-r--r-- | browser.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |