summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2014-11-09 13:14:15 +0100
committerPeter Hofmann <scm@uninformativ.de>2014-11-09 13:39:35 +0100
commit3326c61d20d7af6b2abc74c1447bfad3cfbdc8d3 (patch)
tree269a751dd9cd1f4afe7c37bb5ae24500577a246a
parent8e3a4fcc4380c26c466d49fc07356816c69b13f9 (diff)
downloadlariza-3326c61d20d7af6b2abc74c1447bfad3cfbdc8d3.tar.gz
Fix deprecation warning about stock IDs
-rw-r--r--browser.c3
1 files changed, 2 insertions, 1 deletions
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);