Bugzilla – Bug 1234
GetAttributeChecker is not defined anymore but still used
Last modified: 2011-08-04 16:07:05 UTC
The buildbots are reporting the following error ../src/config-store/model/display-functions.cc: In function 'gboolean ns3::cell_tooltip_callback(GtkWidget*, gint, gint, gboolean, GtkTooltip*, void*)': ../src/config-store/model/display-functions.cc:184: error: 'class ns3::TypeId' has no member named 'GetAttributeName' ../src/config-store/model/display-functions.cc:193: error: 'class ns3::TypeId' has no member named 'GetAttributeHelp' ../src/config-store/model/display-functions.cc:198: error: 'class ns3::TypeId' has no member named 'GetAttributeChecker' ../src/config-store/model/display-functions.cc: In function 'gboolean ns3::cell_tooltip_callback_config_default(GtkWidget*, gint, gint, gboolean, GtkTooltip*, void*)': ../src/config-store/model/display-functions.cc:458: error: 'class ns3::TypeId' has no member named 'GetAttributeHelp' ../src/config-store/model/display-functions.cc:463: error: 'class ns3::TypeId' has no member named 'GetAttributeChecker'
You just need to change calls to GetAttributeChecker with a call to TypeId::GetAttribute and dereference the checker field of the returned struct.
changeset: c7bd6a148b5a I can't test this fix since I obviously don't have a gtk-enabled build machine: I hope that you can check it and adjust the code if needed.