summaryrefslogtreecommitdiff
path: root/fluid/io/Project_Reader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/io/Project_Reader.cxx')
-rw-r--r--fluid/io/Project_Reader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/io/Project_Reader.cxx b/fluid/io/Project_Reader.cxx
index a4c3695d6..e4eb65606 100644
--- a/fluid/io/Project_Reader.cxx
+++ b/fluid/io/Project_Reader.cxx
@@ -350,7 +350,7 @@ Node *Project_Reader::read_children(Node *p, int merge, Strategy strategy, char
// FIXME: this has no business in the file reader!
// TODO: this is called whenever something is pasted from the top level into a grid
// It makes sense to make this more universal for other widget types too.
- if (merge && t && t->parent && t->parent->is_a(Type::Grid)) {
+ if (merge && t && t->parent && t->parent->is_a(FLD_NODE_TYPE_Grid)) {
if (Window_Node::popupx != 0x7FFFFFFF) {
((Grid_Node*)t->parent)->insert_child_at(((Widget_Node*)t)->o, Window_Node::popupx, Window_Node::popupy);
} else {
@@ -403,7 +403,7 @@ int Project_Reader::read_project(const char *filename, int merge, Strategy strat
Fluid.proj.tree.current = nullptr;
// Force menu items to be rebuilt...
for (o = Fluid.proj.tree.first; o; o = o->next) {
- if (o->is_a(Type::Menu_Manager_)) {
+ if (o->is_a(FLD_NODE_TYPE_Menu_Manager_)) {
o->add_child(nullptr,nullptr);
}
}