]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-log-window.c
Add a program to show chat logs
[empathy.git] / libempathy-gtk / empathy-log-window.c
index da553075f45b5946ef419d3f6fb4b77a22a7987b..c32ed76e070a3fb10140ae453c40639496505630 100644 (file)
@@ -136,7 +136,7 @@ enum {
        COL_CHAT_COUNT
 };
 
-void
+GtkWidget *
 empathy_log_window_show (McAccount   *account,
                        const gchar *chat_id,
                        gboolean     is_chatroom,
@@ -157,7 +157,7 @@ empathy_log_window_show (McAccount   *account,
                                                       chat_id, is_chatroom);
                }
 
-               return;
+               return window->window;
        }
 
        window = g_new0 (EmpathyLogWindow, 1);
@@ -261,6 +261,8 @@ empathy_log_window_show (McAccount   *account,
        }
 
        gtk_widget_show (window->window);
+
+       return window->window;
 }
 
 static void