aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-log-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-log-window.c')
-rw-r--r--libempathy-gtk/empathy-log-window.c6
1 files changed, 4 insertions, 2 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