diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-log-window.c | 6 | ||||
-rw-r--r-- | libempathy-gtk/empathy-log-window.h | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index da553075f..c32ed76e0 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -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 diff --git a/libempathy-gtk/empathy-log-window.h b/libempathy-gtk/empathy-log-window.h index 09a986399..a45cbbb84 100644 --- a/libempathy-gtk/empathy-log-window.h +++ b/libempathy-gtk/empathy-log-window.h @@ -29,10 +29,10 @@ G_BEGIN_DECLS -void empathy_log_window_show (McAccount *account, - const gchar *chat_id, - gboolean chatroom, - GtkWindow *parent); +GtkWidget * empathy_log_window_show (McAccount *account, + const gchar *chat_id, + gboolean chatroom, + GtkWindow *parent); G_END_DECLS |