changeset 11689:9c0612901c3e

[gaim-migrate @ 13975] warning fixes... committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Mon, 17 Oct 2005 22:39:34 +0000
parents 1fd2a974379f
children 872932089400
files src/gtkconv.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Mon Oct 17 21:47:15 2005 +0000
+++ b/src/gtkconv.c	Mon Oct 17 22:39:34 2005 +0000
@@ -2571,17 +2571,20 @@
 		im = GAIM_CONV_IM(conv);
 
 	if(im && gaim_conv_im_get_typing_state(im) == GAIM_TYPING) {
-		gtk_image_set_from_stock(gtkwin->menu.typing_icon, GAIM_STOCK_TYPING,
+		gtk_image_set_from_stock(GTK_IMAGE(gtkwin->menu.typing_icon),
+					 GAIM_STOCK_TYPING,
 					 GTK_ICON_SIZE_MENU);
 		gtk_tooltips_set_tip(gtkconv->tooltips, gtkwin->menu.typing_icon,
 				_("User is typing..."), NULL);
 	} else if(im && gaim_conv_im_get_typing_state(im) == GAIM_TYPED) {
-		gtk_image_set_from_stock(gtkwin->menu.typing_icon, GAIM_STOCK_TYPED,
+		gtk_image_set_from_stock(GTK_IMAGE(gtkwin->menu.typing_icon),
+					 GAIM_STOCK_TYPED,
 					 GTK_ICON_SIZE_MENU);
 		gtk_tooltips_set_tip(gtkconv->tooltips, gtkwin->menu.typing_icon,
 				_("User has typed something and paused"), NULL);
 	} else {
-		gtk_image_set_from_stock(gtkwin->menu.typing_icon, GAIM_STOCK_MENU_ICON_BLANK,
+		gtk_image_set_from_stock(GTK_IMAGE(gtkwin->menu.typing_icon),
+					 GAIM_STOCK_MENU_ICON_BLANK,
 					 GTK_ICON_SIZE_MENU);
 		gtk_tooltips_set_tip(gtkconv->tooltips, gtkwin->menu.typing_icon,
 				     "", NULL);