X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fkeyframetreestore.cpp;h=5ce4c7cfb8bc4f698d8489c27482497b290783c3;hb=a42ee14a3397a3fbb31d14e6eece4236620ae2db;hp=df40eacd56db63c8480c9c88a8f2e99fef97c62a;hpb=4cb5360f578f79e5d9e234570018d762ea0a964f;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/keyframetreestore.cpp b/synfig-studio/tags/stable/src/gtkmm/keyframetreestore.cpp index df40eac..5ce4c7c 100644 --- a/synfig-studio/tags/stable/src/gtkmm/keyframetreestore.cpp +++ b/synfig-studio/tags/stable/src/gtkmm/keyframetreestore.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -188,7 +189,7 @@ KeyframeTreeStore_Class::init() } void -KeyframeTreeStore_Class::class_init_function(gpointer g_class, gpointer class_data) +KeyframeTreeStore_Class::class_init_function(gpointer /*g_class*/, gpointer /*class_data*/) { // ??? } @@ -258,7 +259,7 @@ KeyframeTreeStore::iterator_sane(const Gtk::TreeModel::iterator& iter)const } inline void -KeyframeTreeStore::dump_iterator(const GtkTreeIter* gtk_iter, const Glib::ustring &name)const +KeyframeTreeStore::dump_iterator(const GtkTreeIter* /*gtk_iter*/, const Glib::ustring &/*name*/)const { #if 0 if(!gtk_iter) @@ -345,6 +346,7 @@ KeyframeTreeStore::set_value_impl(const Gtk::TreeModel::iterator& row, int colum // Bad old delta return; } + // row(row) on the next line is bad - don't use it, because it leaves 'row' uninitialised //Gtk::TreeModel::iterator row(row); //row++; //if(!row)return;