aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-11 23:00:41 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-11 23:00:41 +0800
commit901afd4a6dd06fef9292a984f3288e3d342959da (patch)
treebce947326bc3b828c7c291935d90ab6e11eaa3d6 /src
parente966626b1116797d2f8f2f92ca5e533d102364b1 (diff)
downloadgsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar
gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.gz
gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.bz2
gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.lz
gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.xz
gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.zst
gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.zip
Fix some warnings
svn path=/trunk/; revision=926
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c4
-rw-r--r--src/empathy-status-icon.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index f8a199ca9..2533d7743 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -386,8 +386,8 @@ call_window_update (EmpathyCallWindow *window)
call_window_finalize (window);
}
-
- g_object_unref (contact);
+ if (contact)
+ g_object_unref (contact);
}
GtkWidget *
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 0cafbfdd8..18788fb7d 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -393,6 +393,10 @@ status_icon_call_filter_new_channel (EmpathyFilter *filter,
event->user_data = group;
g_free (msg);
}
+
+ if (contact) {
+ g_object_unref (contact);
+ }
}
static void