aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-12-29 23:49:35 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-12-29 23:49:35 +0800
commita09d162986496e7bcac0dbd595603943f63cdab4 (patch)
tree6eac08875e7ec3b8098d30b9bb5478296ca72a52 /libempathy-gtk
parentd3a3f8de41c274442117ad4c173eade43b838f80 (diff)
downloadgsoc2013-empathy-a09d162986496e7bcac0dbd595603943f63cdab4.tar
gsoc2013-empathy-a09d162986496e7bcac0dbd595603943f63cdab4.tar.gz
gsoc2013-empathy-a09d162986496e7bcac0dbd595603943f63cdab4.tar.bz2
gsoc2013-empathy-a09d162986496e7bcac0dbd595603943f63cdab4.tar.lz
gsoc2013-empathy-a09d162986496e7bcac0dbd595603943f63cdab4.tar.xz
gsoc2013-empathy-a09d162986496e7bcac0dbd595603943f63cdab4.tar.zst
gsoc2013-empathy-a09d162986496e7bcac0dbd595603943f63cdab4.zip
Make empathy_call_window_show return the widget
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@512 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-call-window.c4
-rw-r--r--libempathy-gtk/empathy-call-window.h2
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