diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:35 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:35 +0800 |
commit | fa76b3717b8e4268485a419d25c3399534f4165f (patch) | |
tree | 6eac08875e7ec3b8098d30b9bb5478296ca72a52 /libempathy-gtk | |
parent | 853a2f3e484b6ddb5d0c8b11d82ce94be0826e4a (diff) | |
download | gsoc2013-empathy-fa76b3717b8e4268485a419d25c3399534f4165f.tar gsoc2013-empathy-fa76b3717b8e4268485a419d25c3399534f4165f.tar.gz gsoc2013-empathy-fa76b3717b8e4268485a419d25c3399534f4165f.tar.bz2 gsoc2013-empathy-fa76b3717b8e4268485a419d25c3399534f4165f.tar.lz gsoc2013-empathy-fa76b3717b8e4268485a419d25c3399534f4165f.tar.xz gsoc2013-empathy-fa76b3717b8e4268485a419d25c3399534f4165f.tar.zst gsoc2013-empathy-fa76b3717b8e4268485a419d25c3399534f4165f.zip |
Make empathy_call_window_show return the widget
svn path=/trunk/; revision=512
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-call-window.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-call-window.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-call-window.c b/libempathy-gtk/empathy-call-window.c index baa169755..608454a0d 100644 --- a/libempathy-gtk/empathy-call-window.c +++ b/libempathy-gtk/empathy-call-window.c @@ -142,7 +142,7 @@ call_window_destroy_cb (GtkWidget *widget, g_slice_free (EmpathyCallWindow, window); } -void +GtkWidget * empathy_call_window_show (EmpathyTpCall *call) { EmpathyCallWindow *window; @@ -194,5 +194,7 @@ empathy_call_window_show (EmpathyTpCall *call) window); gtk_widget_show (window->window); + + return window->window; } diff --git a/libempathy-gtk/empathy-call-window.h b/libempathy-gtk/empathy-call-window.h index ea310d622..c8c6d7f0e 100644 --- a/libempathy-gtk/empathy-call-window.h +++ b/libempathy-gtk/empathy-call-window.h @@ -28,7 +28,7 @@ G_BEGIN_DECLS -void empathy_call_window_show (EmpathyTpCall *call); +GtkWidget * empathy_call_window_show (EmpathyTpCall *call); G_END_DECLS |