[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src status.c,1.49,1.50
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src status.c,1.49,1.50 |
Date: |
Fri, 07 Mar 2003 11:08:09 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv29327/src
Modified Files:
status.c
Log Message:
try to prevent a segfault...
Index: status.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/status.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- status.c 4 Mar 2003 14:23:56 -0000 1.49
+++ status.c 7 Mar 2003 16:08:00 -0000 1.50
@@ -1148,7 +1148,8 @@
/* update the icon if another timeout isn't about to change it */
if (ea->icon_handler == -1) {
-
gtkut_set_pixmap_from_xpm(RUN_SERVICE(ea)->get_status_pixmap(ea),
GTK_PIXMAP(ea->pix));
+ if (RUN_SERVICE(ea) && RUN_SERVICE(ea)->get_status_pixmap &&
ea->pix)
+
gtkut_set_pixmap_from_xpm(RUN_SERVICE(ea)->get_status_pixmap(ea),
GTK_PIXMAP(ea->pix));
}
/* since the contact's status info might be a copy of this
@@ -1832,6 +1833,7 @@
update_contact_list ();
set_menu_sensitivity();
+
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/src status.c,1.49,1.50,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.321,1.322 configure.in,1.316,1.317
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.322,1.323 configure.in,1.317,1.318
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.321,1.322 configure.in,1.316,1.317
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.322,1.323 configure.in,1.317,1.318
- Index(es):