]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-call-window.c
Make empathy_call_window_show return the widget
[empathy.git] / libempathy-gtk / empathy-call-window.c
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;
 }