summaryrefslogtreecommitdiff
path: root/src/mcd-manager.c
diff options
context:
space:
mode:
authorAlberto Mardegan <mardy@users.sourceforge.net>2007-03-21 13:57:12 +0000
committerAlberto Mardegan <mardy@users.sourceforge.net>2007-03-21 13:57:12 +0000
commit9ab76222e9882f41a736afdcd71e5cc033a04667 (patch)
treeb7b07a8b2b85d294ef55c71d0edae1d25863d568 /src/mcd-manager.c
parent3700420403d8dbf88d73ad82e71142da85323891 (diff)
Fix possible critical messages.
git-svn-id: https://mission-control.svn.sourceforge.net/svnroot/mission-control/trunk@13 d91c8aed-3f2b-0410-a83d-924a1c20a0ba
Diffstat (limited to 'src/mcd-manager.c')
-rw-r--r--src/mcd-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mcd-manager.c b/src/mcd-manager.c
index 98c9c3fc..6636a485 100644
--- a/src/mcd-manager.c
+++ b/src/mcd-manager.c
@@ -159,6 +159,8 @@ _find_connection_by_path (gconstpointer data, gconstpointer user_data)
const gchar *conn_object_path = NULL;
gint ret;
+ if (!data) return 1;
+
g_object_get (G_OBJECT (connection), "tp-connection",
&tp_conn, NULL);
if (!tp_conn)