]> git.0d.be Git - empathy.git/commitdiff
Fix warning when showing about dialog from a chat window
authorXavier Claessens <xclaesse@src.gnome.org>
Sun, 16 Mar 2008 14:16:13 +0000 (14:16 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sun, 16 Mar 2008 14:16:13 +0000 (14:16 +0000)
svn path=/trunk/; revision=807

src/empathy-chat-window.c

index d0f881bf8b803f5876bc57d1035b3b6e9b7e170a..33be0ea82afcb09be85c60d296ed5607e0a9feaa 100644 (file)
@@ -1252,7 +1252,9 @@ static void
 chat_window_help_about_cb (GtkWidget         *menuitem,
                           EmpathyChatWindow *window)
 {
-       empathy_about_dialog_new (GTK_WINDOW (window));
+       EmpathyChatWindowPriv *priv = GET_PRIV (window);
+
+       empathy_about_dialog_new (GTK_WINDOW (priv->dialog));
 }
 
 static gboolean