From: dooglus Date: Sat, 26 Jan 2008 12:37:43 +0000 (+0000) Subject: Prevent a warning saying "not enough variable arguments to fit a sentinel". But... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=74edd7d7e10998cfe9bf2ef3dc8ea2d0a49ccfd3;p=synfig.git Prevent a warning saying "not enough variable arguments to fit a sentinel". But why was this KeyframeTreeStore_Class class being used at all? Looks like some unfinished work here. I've commented it out - does that affect anything? git-svn-id: http://svn.voria.com/code@1503 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp b/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp index f947077..99264b9 100644 --- a/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp @@ -61,7 +61,7 @@ using namespace studio; /* === G L O B A L S ======================================================= */ -KeyframeTreeStore_Class KeyframeTreeStore::keyframe_tree_store_class_; +// KeyframeTreeStore_Class KeyframeTreeStore::keyframe_tree_store_class_; /* === C L A S S E S & S T R U C T S ======================================= */ @@ -198,7 +198,8 @@ KeyframeTreeStore_Class::class_init_function(gpointer /*g_class*/, gpointer /*cl KeyframeTreeStore::KeyframeTreeStore(etl::loose_handle canvas_interface_): Glib::ObjectBase ("KeyframeTreeStore"), - Glib::Object (Glib::ConstructParams(keyframe_tree_store_class_.init(), (char*) 0)), + //! \todo what is going on here? why the need for this KeyframeTreeStore_Class at all? + // Glib::Object (Glib::ConstructParams(keyframe_tree_store_class_.init(), (char*) 0, (char*) 0)), canvas_interface_ (canvas_interface_) { reset_stamp();