ayttm-commits
[Top][All Lists]
Advanced

[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();
+               
 }
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]