aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-log-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-01-20 08:04:45 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-01-20 08:04:45 +0800
commit0f90a138f3fbd9affc95901d5ee9283aaea9f203 (patch)
tree6aacef20671b0891e3b58e2cf9a3154d33a000fc /libempathy-gtk/empathy-log-window.c
parent5919562b17c2cf695a406ac15d80809bda067a6d (diff)
downloadgsoc2013-empathy-0f90a138f3fbd9affc95901d5ee9283aaea9f203.tar
gsoc2013-empathy-0f90a138f3fbd9affc95901d5ee9283aaea9f203.tar.gz
gsoc2013-empathy-0f90a138f3fbd9affc95901d5ee9283aaea9f203.tar.bz2
gsoc2013-empathy-0f90a138f3fbd9affc95901d5ee9283aaea9f203.tar.lz
gsoc2013-empathy-0f90a138f3fbd9affc95901d5ee9283aaea9f203.tar.xz
gsoc2013-empathy-0f90a138f3fbd9affc95901d5ee9283aaea9f203.tar.zst
gsoc2013-empathy-0f90a138f3fbd9affc95901d5ee9283aaea9f203.zip
Add a program to show chat logs
svn path=/trunk/; revision=584
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