]> git.0d.be Git - empathy.git/commitdiff
Make empathy_call_window_show return the widget
authorXavier Claessens <xclaesse@src.gnome.org>
Sat, 29 Dec 2007 15:49:35 +0000 (15:49 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sat, 29 Dec 2007 15:49:35 +0000 (15:49 +0000)
svn path=/trunk/; revision=512

libempathy-gtk/empathy-call-window.c
libempathy-gtk/empathy-call-window.h

index baa169755b94e579a773a25dfec022df21a6fe2d..608454a0d857c805add169dfa3e84793d04eceba 100644 (file)
@@ -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;
 }
 
index ea310d6226629c03944cd13b33bfec489931eaca..c8c6d7f0ed70385d149561042da2a3e00646d7db 100644 (file)
@@ -28,7 +28,7 @@
 
 G_BEGIN_DECLS
 
-void empathy_call_window_show (EmpathyTpCall *call);
+GtkWidget * empathy_call_window_show (EmpathyTpCall *call);
 
 G_END_DECLS