/soc/2015/mmcc/main: 0842a274ae12: replace another instance of d...

Michael McConville mmcconville at mykolab.com
Tue Jul 7 23:08:14 EDT 2015


Changeset: 0842a274ae1215d7d106d59abed68cfe40abbdc3
Author:	 Michael McConville <mmcconville at mykolab.com>
Date:	 2015-07-07 23:08 -0400
Branch:	 default
URL: https://hg.pidgin.im/soc/2015/mmcc/main/rev/0842a274ae12

Description:

replace another instance of deprecated gtk_tool_button_set_stock_id() with gtk_tool_button_set_icon_name()

diffstat:

 pidgin/gtkwebviewtoolbar.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff --git a/pidgin/gtkwebviewtoolbar.c b/pidgin/gtkwebviewtoolbar.c
--- a/pidgin/gtkwebviewtoolbar.c
+++ b/pidgin/gtkwebviewtoolbar.c
@@ -1565,8 +1565,8 @@ pidgin_webviewtoolbar_create_lean_view(P
 		g_strdup("insert"), g_free);
 	gtk_toolbar_insert(GTK_TOOLBAR(priv->lean_view), insert_button, -1);
 	gtk_tool_item_set_is_important(insert_button, TRUE);
-	gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(insert_button),
-	                             PIDGIN_STOCK_TOOLBAR_INSERT);
+	gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(insert_button),
+			PIDGIN_STOCK_TOOLBAR_INSERT);
 	label = gtk_label_new_with_mnemonic(_("_Insert"));
 	gtk_tool_button_set_label_widget(GTK_TOOL_BUTTON(insert_button), label);
 



More information about the Commits mailing list