diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-20 08:04:45 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-20 08:04:45 +0800 |
commit | 0f90a138f3fbd9affc95901d5ee9283aaea9f203 (patch) | |
tree | 6aacef20671b0891e3b58e2cf9a3154d33a000fc /libempathy-gtk | |
parent | 5919562b17c2cf695a406ac15d80809bda067a6d (diff) | |
download | gsoc2013-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')
-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 |