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

Michael McConville <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 0842a274ae1215d7d106d59abed68cfe40abbdc3
Author:	 Michael McConville <[email protected]>
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);
 

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.