empathy r1021 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1021 - trunk/src
- Date: Mon, 21 Apr 2008 15:06:37 +0100 (BST)
Author: xclaesse
Date: Mon Apr 21 14:06:37 2008
New Revision: 1021
URL: http://svn.gnome.org/viewvc/empathy?rev=1021&view=rev
Log:
If window->call is NULL consider the call as CLOSED
Modified:
trunk/src/empathy-call-window.c
Modified: trunk/src/empathy-call-window.c
==============================================================================
--- trunk/src/empathy-call-window.c (original)
+++ trunk/src/empathy-call-window.c Mon Apr 21 14:06:37 2008
@@ -253,11 +253,13 @@
{
GtkWidget *dialog;
gint result;
- guint status;
+ guint status = EMPATHY_TP_CALL_STATUS_CLOSED;
empathy_debug (DEBUG_DOMAIN, "Delete event occurred");
- g_object_get (G_OBJECT (window->call), "status", &status, NULL);
+ if (window->call)
+ g_object_get (window->call, "status", &status, NULL);
+
if (status == EMPATHY_TP_CALL_STATUS_ACCEPTED)
{
dialog = gtk_message_dialog_new (GTK_WINDOW (window->window),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]