Revision: 2107
          http://synfig.svn.sourceforge.net/synfig/?rev=2107&view=rev
Author:   dooglus
Date:     2008-10-19 01:38:45 +0000 (Sun, 19 Oct 2008)

Log Message:
-----------
SVN r1777 causes get_tooltips_object() to return a NULL pointer for the meta 
panel, leading to a crash.  Only set the tip if the pointer isn't NULL.

Modified Paths:
--------------
    synfig-studio/trunk/src/gtkmm/dockable.cpp

Modified: synfig-studio/trunk/src/gtkmm/dockable.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/dockable.cpp  2008-10-17 15:23:30 UTC (rev 
2106)
+++ synfig-studio/trunk/src/gtkmm/dockable.cpp  2008-10-19 01:38:45 UTC (rev 
2107)
@@ -328,7 +328,8 @@
        //ret->set_relief(Gtk::RELIEF_HALF);
        //ret->set_relief(Gtk::RELIEF_NONE);
        ret->set_label(tooltip);
-       toolbar_->get_tooltips_object()->set_tip(*ret,tooltip);
+       if (toolbar_->get_tooltips_object())
+               toolbar_->get_tooltips_object()->set_tip(*ret,tooltip);
 
        ret->show();
        //icon->show();


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to