bhattigurjot

gtkmm_error_example

Jul 4th, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.75 KB | None | 0 0
  1. examplewindow.cc: In constructor ‘ExampleWindow::ExampleWindow()’:
  2. examplewindow.cc:18:59: error: no matching function for call to ‘ptr_fun(void (ExampleWindow::*)())’
  3. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  4. ^
  5. examplewindow.cc:18:59: note: candidates are:
  6. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  7. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  8. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  9. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  10. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  11. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  12. from /usr/include/glibmm-2.4/glibmm.h:87,
  13. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  14. from examplewindow.h:4,
  15. from examplewindow.cc:1:
  16. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:460:1: note: template<class T_return> sigc::pointer_functor0<T_return> sigc::ptr_fun(T_return (*)())
  17. ptr_fun(T_return (*_A_func)())
  18. ^
  19. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:460:1: note: template argument deduction/substitution failed:
  20. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)()’ and ‘void (ExampleWindow::*)()’
  21. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  22. ^
  23. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  24. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  25. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  26. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  27. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  28. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  29. from /usr/include/glibmm-2.4/glibmm.h:87,
  30. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  31. from examplewindow.h:4,
  32. from examplewindow.cc:1:
  33. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:471:1: note: template<class T_arg1, class T_return> sigc::pointer_functor1<T_arg1, T_return> sigc::ptr_fun(T_return (*)(T_arg1))
  34. ptr_fun(T_return (*_A_func)(T_arg1))
  35. ^
  36. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:471:1: note: template argument deduction/substitution failed:
  37. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)(T_arg1)’ and ‘void (ExampleWindow::*)()’
  38. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  39. ^
  40. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  41. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  42. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  43. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  44. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  45. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  46. from /usr/include/glibmm-2.4/glibmm.h:87,
  47. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  48. from examplewindow.h:4,
  49. from examplewindow.cc:1:
  50. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:482:1: note: template<class T_arg1, class T_arg2, class T_return> sigc::pointer_functor2<T_arg1, T_arg2, T_return> sigc::ptr_fun(T_return (*)(T_arg1, T_arg2))
  51. ptr_fun(T_return (*_A_func)(T_arg1, T_arg2))
  52. ^
  53. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:482:1: note: template argument deduction/substitution failed:
  54. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)(T_arg1, T_arg2)’ and ‘void (ExampleWindow::*)()’
  55. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  56. ^
  57. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  58. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  59. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  60. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  61. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  62. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  63. from /usr/include/glibmm-2.4/glibmm.h:87,
  64. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  65. from examplewindow.h:4,
  66. from examplewindow.cc:1:
  67. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:493:1: note: template<class T_arg1, class T_arg2, class T_arg3, class T_return> sigc::pointer_functor3<T_arg1, T_arg2, T_arg3, T_return> sigc::ptr_fun(T_return (*)(T_arg1, T_arg2, T_arg3))
  68. ptr_fun(T_return (*_A_func)(T_arg1, T_arg2, T_arg3))
  69. ^
  70. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:493:1: note: template argument deduction/substitution failed:
  71. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)(T_arg1, T_arg2, T_arg3)’ and ‘void (ExampleWindow::*)()’
  72. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  73. ^
  74. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  75. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  76. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  77. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  78. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  79. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  80. from /usr/include/glibmm-2.4/glibmm.h:87,
  81. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  82. from examplewindow.h:4,
  83. from examplewindow.cc:1:
  84. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:504:1: note: template<class T_arg1, class T_arg2, class T_arg3, class T_arg4, class T_return> sigc::pointer_functor4<T_arg1, T_arg2, T_arg3, T_arg4, T_return> sigc::ptr_fun(T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4))
  85. ptr_fun(T_return (*_A_func)(T_arg1, T_arg2, T_arg3, T_arg4))
  86. ^
  87. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:504:1: note: template argument deduction/substitution failed:
  88. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4)’ and ‘void (ExampleWindow::*)()’
  89. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  90. ^
  91. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  92. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  93. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  94. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  95. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  96. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  97. from /usr/include/glibmm-2.4/glibmm.h:87,
  98. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  99. from examplewindow.h:4,
  100. from examplewindow.cc:1:
  101. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:515:1: note: template<class T_arg1, class T_arg2, class T_arg3, class T_arg4, class T_arg5, class T_return> sigc::pointer_functor5<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_return> sigc::ptr_fun(T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5))
  102. ptr_fun(T_return (*_A_func)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5))
  103. ^
  104. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:515:1: note: template argument deduction/substitution failed:
  105. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5)’ and ‘void (ExampleWindow::*)()’
  106. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  107. ^
  108. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  109. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  110. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  111. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  112. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  113. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  114. from /usr/include/glibmm-2.4/glibmm.h:87,
  115. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  116. from examplewindow.h:4,
  117. from examplewindow.cc:1:
  118. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:526:1: note: template<class T_arg1, class T_arg2, class T_arg3, class T_arg4, class T_arg5, class T_arg6, class T_return> sigc::pointer_functor6<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_return> sigc::ptr_fun(T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6))
  119. ptr_fun(T_return (*_A_func)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6))
  120. ^
  121. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:526:1: note: template argument deduction/substitution failed:
  122. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6)’ and ‘void (ExampleWindow::*)()’
  123. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  124. ^
  125. In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:8:0,
  126. from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
  127. from /usr/include/sigc++-2.0/sigc++/signal_base.h:29,
  128. from /usr/include/sigc++-2.0/sigc++/signal.h:8,
  129. from /usr/include/sigc++-2.0/sigc++/sigc++.h:80,
  130. from /usr/include/glibmm-2.4/glibmm/thread.h:58,
  131. from /usr/include/glibmm-2.4/glibmm.h:87,
  132. from /usr/include/gtkmm-3.0/gtkmm.h:87,
  133. from examplewindow.h:4,
  134. from examplewindow.cc:1:
  135. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:537:1: note: template<class T_arg1, class T_arg2, class T_arg3, class T_arg4, class T_arg5, class T_arg6, class T_arg7, class T_return> sigc::pointer_functor7<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7, T_return> sigc::ptr_fun(T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7))
  136. ptr_fun(T_return (*_A_func)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7))
  137. ^
  138. /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:537:1: note: template argument deduction/substitution failed:
  139. examplewindow.cc:18:59: note: mismatched types ‘T_return (*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)’ and ‘void (ExampleWindow::*)()’
  140. sigc::ptr_fun(&ExampleWindow::on_menu_file_new_generic));
  141. ^
  142. examplewindow.cc:21:67: error: no matching function for call to ‘Gio::SimpleActionGroup::add_action(const char [7], sigc::bound_mem_functor0<void, ExampleWindow>)’
  143. sigc::mem_fun(*this, &ExampleWindow::on_menu_file_new_generic));
  144. ^
  145. examplewindow.cc:21:67: note: candidate is:
  146. In file included from /usr/include/giomm-2.4/giomm.h:27:0,
  147. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  148. from examplewindow.h:4,
  149. from examplewindow.cc:1:
  150. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: void Gio::ActionMap::add_action(const Glib::RefPtr<Gio::Action>&)
  151. void add_action(const Glib::RefPtr<Action>& action);
  152. ^
  153. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: candidate expects 1 argument, 2 provided
  154. examplewindow.cc:24:67: error: no matching function for call to ‘Gio::SimpleActionGroup::add_action(const char [7], sigc::bound_mem_functor0<void, ExampleWindow>)’
  155. sigc::mem_fun(*this, &ExampleWindow::on_menu_file_new_generic));
  156. ^
  157. examplewindow.cc:24:67: note: candidate is:
  158. In file included from /usr/include/giomm-2.4/giomm.h:27:0,
  159. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  160. from examplewindow.h:4,
  161. from examplewindow.cc:1:
  162. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: void Gio::ActionMap::add_action(const Glib::RefPtr<Gio::Action>&)
  163. void add_action(const Glib::RefPtr<Action>& action);
  164. ^
  165. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: candidate expects 1 argument, 2 provided
  166. examplewindow.cc:28:60: error: no matching function for call to ‘Gio::SimpleActionGroup::add_action(const char [5], sigc::bound_mem_functor0<void, ExampleWindow>)’
  167. sigc::mem_fun(*this, &ExampleWindow::on_menu_file_quit));
  168. ^
  169. examplewindow.cc:28:60: note: candidate is:
  170. In file included from /usr/include/giomm-2.4/giomm.h:27:0,
  171. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  172. from examplewindow.h:4,
  173. from examplewindow.cc:1:
  174. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: void Gio::ActionMap::add_action(const Glib::RefPtr<Gio::Action>&)
  175. void add_action(const Glib::RefPtr<Action>& action);
  176. ^
  177. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: candidate expects 1 argument, 2 provided
  178. examplewindow.cc:32:57: error: no matching function for call to ‘Gio::SimpleActionGroup::add_action(const char [5], sigc::bound_mem_functor0<void, ExampleWindow>)’
  179. sigc::mem_fun(*this, &ExampleWindow::on_menu_others));
  180. ^
  181. examplewindow.cc:32:57: note: candidate is:
  182. In file included from /usr/include/giomm-2.4/giomm.h:27:0,
  183. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  184. from examplewindow.h:4,
  185. from examplewindow.cc:1:
  186. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: void Gio::ActionMap::add_action(const Glib::RefPtr<Gio::Action>&)
  187. void add_action(const Glib::RefPtr<Action>& action);
  188. ^
  189. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: candidate expects 1 argument, 2 provided
  190. examplewindow.cc:34:57: error: no matching function for call to ‘Gio::SimpleActionGroup::add_action(const char [6], sigc::bound_mem_functor0<void, ExampleWindow>)’
  191. sigc::mem_fun(*this, &ExampleWindow::on_menu_others));
  192. ^
  193. examplewindow.cc:34:57: note: candidate is:
  194. In file included from /usr/include/giomm-2.4/giomm.h:27:0,
  195. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  196. from examplewindow.h:4,
  197. from examplewindow.cc:1:
  198. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: void Gio::ActionMap::add_action(const Glib::RefPtr<Gio::Action>&)
  199. void add_action(const Glib::RefPtr<Action>& action);
  200. ^
  201. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: candidate expects 1 argument, 2 provided
  202. examplewindow.cc:36:57: error: no matching function for call to ‘Gio::SimpleActionGroup::add_action(const char [10], sigc::bound_mem_functor0<void, ExampleWindow>)’
  203. sigc::mem_fun(*this, &ExampleWindow::on_menu_others));
  204. ^
  205. examplewindow.cc:36:57: note: candidate is:
  206. In file included from /usr/include/giomm-2.4/giomm.h:27:0,
  207. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  208. from examplewindow.h:4,
  209. from examplewindow.cc:1:
  210. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: void Gio::ActionMap::add_action(const Glib::RefPtr<Gio::Action>&)
  211. void add_action(const Glib::RefPtr<Action>& action);
  212. ^
  213. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: candidate expects 1 argument, 2 provided
  214. examplewindow.cc:41:33: error: ‘class Gio::SimpleActionGroup’ has no member named ‘add_action_radio_string’
  215. m_refChoice = refActionGroup->add_action_radio_string("choice",
  216. ^
  217. examplewindow.cc:45:38: error: ‘class Gio::SimpleActionGroup’ has no member named ‘add_action_radio_integer’
  218. m_refChoiceOther = refActionGroup->add_action_radio_integer("choiceother",
  219. ^
  220. examplewindow.cc:49:33: error: ‘class Gio::SimpleActionGroup’ has no member named ‘add_action_bool’
  221. m_refToggle = refActionGroup->add_action_bool("sometoggle",
  222. ^
  223. examplewindow.cc:56:58: error: no matching function for call to ‘Gio::SimpleActionGroup::add_action(const char [6], sigc::bound_mem_functor0<void, ExampleWindow>)’
  224. sigc::mem_fun(*this, &ExampleWindow::on_menu_others) );
  225. ^
  226. examplewindow.cc:56:58: note: candidate is:
  227. In file included from /usr/include/giomm-2.4/giomm.h:27:0,
  228. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  229. from examplewindow.h:4,
  230. from examplewindow.cc:1:
  231. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: void Gio::ActionMap::add_action(const Glib::RefPtr<Gio::Action>&)
  232. void add_action(const Glib::RefPtr<Action>& action);
  233. ^
  234. /usr/include/giomm-2.4/giomm/actionmap.h:165:8: note: candidate expects 1 argument, 2 provided
  235. examplewindow.cc:178:62: error: no matching function for call to ‘Gtk::MenuBar::MenuBar(Glib::RefPtr<Gio::Menu>&)’
  236. Gtk::MenuBar* pMenubar = Gtk::manage(new Gtk::MenuBar(gmenu));
  237. ^
  238. examplewindow.cc:178:62: note: candidates are:
  239. In file included from /usr/include/gtkmm-3.0/gtkmm.h:183:0,
  240. from examplewindow.h:4,
  241. from examplewindow.cc:1:
  242. /usr/include/gtkmm-3.0/gtkmm/menubar.h:158:3: note: Gtk::MenuBar::MenuBar()
  243. MenuBar();
  244. ^
  245. /usr/include/gtkmm-3.0/gtkmm/menubar.h:158:3: note: candidate expects 0 arguments, 1 provided
  246. /usr/include/gtkmm-3.0/gtkmm/menubar.h:122:12: note: Gtk::MenuBar::MenuBar(GtkMenuBar*)
  247. explicit MenuBar(GtkMenuBar* castitem);
  248. ^
  249. /usr/include/gtkmm-3.0/gtkmm/menubar.h:122:12: note: no known conversion for argument 1 from ‘Glib::RefPtr<Gio::Menu>’ to ‘GtkMenuBar* {aka _GtkMenuBar*}’
  250. /usr/include/gtkmm-3.0/gtkmm/menubar.h:121:12: note: Gtk::MenuBar::MenuBar(const Glib::ConstructParams&)
  251. explicit MenuBar(const Glib::ConstructParams& construct_params);
  252. ^
  253. /usr/include/gtkmm-3.0/gtkmm/menubar.h:121:12: note: no known conversion for argument 1 from ‘Glib::RefPtr<Gio::Menu>’ to ‘const Glib::ConstructParams&’
  254. /usr/include/gtkmm-3.0/gtkmm/menubar.h:117:3: note: Gtk::MenuBar::MenuBar(const Gtk::MenuBar&)
  255. MenuBar(const MenuBar&);
  256. ^
  257. /usr/include/gtkmm-3.0/gtkmm/menubar.h:117:3: note: no known conversion for argument 1 from ‘Glib::RefPtr<Gio::Menu>’ to ‘const Gtk::MenuBar&’
  258. examplewindow.cc: In member function ‘void ExampleWindow::on_menu_choices(const Glib::ustring&)’:
  259. examplewindow.cc:223:38: error: no matching function for call to ‘Gio::SimpleAction::change_state(const Glib::ustring&)’
  260. m_refChoice->change_state(parameter);
  261. ^
  262. examplewindow.cc:223:38: note: candidate is:
  263. In file included from /usr/include/giomm-2.4/giomm.h:25:0,
  264. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  265. from examplewindow.h:4,
  266. from examplewindow.cc:1:
  267. /usr/include/giomm-2.4/giomm/action.h:286:8: note: void Gio::Action::change_state(const Glib::VariantBase&)
  268. void change_state(const Glib::VariantBase& value);
  269. ^
  270. /usr/include/giomm-2.4/giomm/action.h:286:8: note: no known conversion for argument 1 from ‘const Glib::ustring’ to ‘const Glib::VariantBase&’
  271. examplewindow.cc: In member function ‘void ExampleWindow::on_menu_choices_other(int)’:
  272. examplewindow.cc:237:43: error: no matching function for call to ‘Gio::SimpleAction::change_state(int&)’
  273. m_refChoiceOther->change_state(parameter);
  274. ^
  275. examplewindow.cc:237:43: note: candidate is:
  276. In file included from /usr/include/giomm-2.4/giomm.h:25:0,
  277. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  278. from examplewindow.h:4,
  279. from examplewindow.cc:1:
  280. /usr/include/giomm-2.4/giomm/action.h:286:8: note: void Gio::Action::change_state(const Glib::VariantBase&)
  281. void change_state(const Glib::VariantBase& value);
  282. ^
  283. /usr/include/giomm-2.4/giomm/action.h:286:8: note: no known conversion for argument 1 from ‘int’ to ‘const Glib::VariantBase&’
  284. examplewindow.cc: In member function ‘void ExampleWindow::on_menu_toggle()’:
  285. examplewindow.cc:251:32: error: no matching function for call to ‘Gio::SimpleAction::get_state(bool&)’
  286. m_refToggle->get_state(active);
  287. ^
  288. examplewindow.cc:251:32: note: candidate is:
  289. In file included from /usr/include/giomm-2.4/giomm.h:25:0,
  290. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  291. from examplewindow.h:4,
  292. from examplewindow.cc:1:
  293. /usr/include/giomm-2.4/giomm/action.h:269:8: note: void Gio::Action::get_state() const
  294. void get_state() const;
  295. ^
  296. /usr/include/giomm-2.4/giomm/action.h:269:8: note: candidate expects 0 arguments, 1 provided
  297. examplewindow.cc:254:36: error: no matching function for call to ‘Gio::SimpleAction::change_state(bool)’
  298. m_refToggle->change_state(!active);
  299. ^
  300. examplewindow.cc:254:36: note: candidate is:
  301. In file included from /usr/include/giomm-2.4/giomm.h:25:0,
  302. from /usr/include/gtkmm-3.0/gtkmm.h:88,
  303. from examplewindow.h:4,
  304. from examplewindow.cc:1:
  305. /usr/include/giomm-2.4/giomm/action.h:286:8: note: void Gio::Action::change_state(const Glib::VariantBase&)
  306. void change_state(const Glib::VariantBase& value);
  307. ^
  308. /usr/include/giomm-2.4/giomm/action.h:286:8: note: no known conversion for argument 1 from ‘bool’ to ‘const Glib::VariantBase&’
Advertisement
Add Comment
Please, Sign In to add comment