[nemiver] Be mercyful with empty noteboks



commit 78ce53edfaa04e79e6d33238413173ca836cf082
Author: Dodji Seketeli <dodji gnome org>
Date:   Sat May 1 22:13:10 2010 +0200

    Be mercyful with empty noteboks
    
    	* src/persp/dbgperspective/nmv-dbg-perspective.cc
    	(DBGPerspective::get_current_source_editor): Don't cry when the
    	source view notebook is empty.

 src/persp/dbgperspective/nmv-dbg-perspective.cc |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index 5c487f8..7e397d8 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -3799,7 +3799,6 @@ DBGPerspective::get_current_source_editor ()
 
     if (m_priv->sourceviews_notebook
         && !m_priv->sourceviews_notebook->get_n_pages ()) {
-        LOG_ERROR ("Empty m_priv->sourceviews_notebook");
         return NULL;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]