empathy r1224 - trunk/src



Author: xclaesse
Date: Mon Jul 14 08:08:37 2008
New Revision: 1224
URL: http://svn.gnome.org/viewvc/empathy?rev=1224&view=rev

Log:
Useless to cast 2 times to the same class


Modified:
   trunk/src/empathy-chat-window.c

Modified: trunk/src/empathy-chat-window.c
==============================================================================
--- trunk/src/empathy-chat-window.c	(original)
+++ trunk/src/empathy-chat-window.c	Mon Jul 14 08:08:37 2008
@@ -1275,7 +1275,7 @@
 		chat_window = l->data;
 
 		dialog = empathy_chat_window_get_dialog (chat_window);
-		if (empathy_window_get_is_visible (GTK_WINDOW (GTK_WINDOW (dialog)))) {
+		if (empathy_window_get_is_visible (GTK_WINDOW (dialog))) {
 			/* Found a visible window on this desktop */
 			return chat_window;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]