pidgin: 5d14e842: Fix another warning.

maiku at pidgin.im maiku at pidgin.im
Sun Aug 30 00:15:31 EDT 2009


-----------------------------------------------------------------
Revision: 5d14e84215d9f285f65ff268476a8c9a395e6f7f
Ancestor: c6e09fb86a5c8b77bc7c407068ff7e80801416e0
Author: maiku at pidgin.im
Date: 2009-08-30T03:56:32
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5d14e84215d9f285f65ff268476a8c9a395e6f7f

Modified files:
        pidgin/gtkmedia.c

ChangeLog: 

Fix another warning.

-------------- next part --------------
============================================================
--- pidgin/gtkmedia.c	0a9c75382f49e9b4dca566679779199d4979950e
+++ pidgin/gtkmedia.c	8c99aa9577259faeb46fc038c9737776c4483170
@@ -747,10 +747,12 @@ pidgin_media_ready_cb(PurpleMedia *media
 
 	/* set the window icon according to the type */
 	if (type & PURPLE_MEDIA_VIDEO) {
-		icon = gtk_widget_render_icon(gtkmedia, PIDGIN_STOCK_TOOLBAR_VIDEO_CALL,
+		icon = gtk_widget_render_icon(GTK_WIDGET(gtkmedia),
+			PIDGIN_STOCK_TOOLBAR_VIDEO_CALL,
 			gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_LARGE), NULL);
 	} else if (type & PURPLE_MEDIA_AUDIO) {
-		icon = gtk_widget_render_icon(gtkmedia, PIDGIN_STOCK_TOOLBAR_AUDIO_CALL,
+		icon = gtk_widget_render_icon(GTK_WIDGET(gtkmedia),
+			PIDGIN_STOCK_TOOLBAR_AUDIO_CALL,
 			gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_LARGE), NULL);
 	}
 


More information about the Commits mailing list