diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-window.c | 3 | ||||
-rw-r--r-- | src/empathy.c | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 77f850866..34f5fd202 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -352,6 +352,9 @@ call_window_update (EmpathyCallWindow *window) gboolean is_incoming; gchar *title; + if (window->call == NULL) + return; + g_object_get (window->call, "status", &window->status, "audio-stream", &audio_stream, diff --git a/src/empathy.c b/src/empathy.c index b67e69878..dce928701 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -62,6 +62,8 @@ #define DEBUG_FLAG EMPATHY_DEBUG_OTHER #include <libempathy/empathy-debug.h> +#include <gst/gst.h> + static BaconMessageConnection *connection = NULL; static void @@ -441,6 +443,10 @@ main (int argc, char *argv[]) empathy_gtk_init (); g_set_application_name (_(PACKAGE_NAME)); + + gst_init (&argc, &argv); + + g_set_application_name (PACKAGE_NAME); gtk_window_set_default_icon_name ("empathy"); textdomain (GETTEXT_PACKAGE); |