Changeset cc633c42d34d2955435a187ca7e3a4163e1c881d

Show
Ignore:
Timestamp:
09/30/08 15:06:41 (5 years ago)
Author:
Armin Burgmeier <armin@…>
Parents:
e25de5d802baa6ebca21a738a5f6d3686a8a853e
Children:
2a641ce355715775387a30156103e1022bc3a25d
git-committer:
Armin Burgmeier <armin@arbur.net> / 2008-09-30T15:06:41Z+0200
Message:

Added an assertion to find another bug concerning user activity

2008-09-30 Armin Burgmeier <armin@…>

  • src/commands/folder-commands.cpp: Added another assertion to be able to better track another problem with users becoming active without having the document selected in the notebook.
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    re25de5d rcc633c4  
     12008-09-30  Armin Burgmeier  <armin@arbur.net> 
     2 
     3        * src/commands/folder-commands.cpp: Added another assertion to be able 
     4        to better track another problem with users becoming active without 
     5        having the document selected in the notebook. 
     6 
    172008-09-22  Armin Burgmeier  <armin@arbur.net> 
    28 
  • src/commands/folder-commands.cpp

    re25de5d rcc633c4  
    148148        void on_user_notify_status(InfUser* user) 
    149149        { 
     150                // User cannot be activated when we are not active 
     151                g_assert(m_active || 
     152                         inf_user_get_status(user) != INF_USER_ACTIVE); 
     153 
    150154                if(inf_user_get_status(user) == INF_USER_ACTIVE && m_active) 
    151155                {