projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add code to output the new time format.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
widget_compselect.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/widget_compselect.cpp
b/synfig-studio/trunk/src/gtkmm/widget_compselect.cpp
index
4ffa511
..
51eb3db
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/widget_compselect.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/widget_compselect.cpp
@@
-35,6
+35,8
@@
#include <synfig/valuenode.h>
#include "instance.h"
#include <synfig/valuenode.h>
#include "instance.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#endif
/* === U S I N G =========================================================== */
@@
-96,7
+98,8
@@
Widget_CompSelect::set_selected_instance(etl::loose_handle<studio::Instance> x)
if(x)
{
int i;
if(x)
{
int i;
- for(i=0,iter=studio::App::instance_list.begin();iter!=studio::App::instance_list.end() && ((*iter)!=x);iter++,i++);
+ for(i=0,iter=studio::App::instance_list.begin();iter!=studio::App::instance_list.end() && ((*iter)!=x);iter++,i++)
+ ;
assert(*iter==x);
assert(*iter==x);
@@
-138,7
+141,6
@@
Widget_CompSelect::new_instance(etl::handle<studio::Instance> instance)
void
Widget_CompSelect::delete_instance(etl::handle<studio::Instance> instance)
{
void
Widget_CompSelect::delete_instance(etl::handle<studio::Instance> instance)
{
- DEBUGPOINT();
refresh();
if(selected_instance==instance)
refresh();
if(selected_instance==instance)