amyedit-1.0-signal.patch 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. diff -Naur amyeditbroken/src/AmyEdit.cc amyedit-1.0/src/AmyEdit.cc
  2. --- amyeditbroken/src/AmyEdit.cc 2006-03-13 22:13:08.000000000 +0100
  3. +++ amyedit-1.0/src/AmyEdit.cc 2008-07-12 05:07:43.965608312 +0200
  4. @@ -65,9 +65,9 @@
  5. /* My Signals */
  6. // signals when there is a file available
  7. -SigC::Signal1<void,bool> signal_file_open;
  8. +sigc::signal1<void,bool> signal_file_open;
  9. // signals an update to preferences
  10. -SigC::Signal0<void> signal_preferences_update;
  11. +sigc::signal0<void> signal_preferences_update;
  12. /**************/
  13. AmyEdit* AmyEdit::smInstance=NULL;
  14. diff -Naur amyeditbroken/src/EditTabs.cc amyedit-1.0/src/EditTabs.cc
  15. --- amyeditbroken/src/EditTabs.cc 2006-03-13 22:25:53.000000000 +0100
  16. +++ amyedit-1.0/src/EditTabs.cc 2008-07-12 05:08:41.022094749 +0200
  17. @@ -76,7 +76,7 @@
  18. set_tab_pos(Gtk::POS_TOP);
  19. set_scrollable(true);
  20. - extern SigC::Signal0<void> signal_preferences_update;
  21. + extern sigc::signal0<void> signal_preferences_update;
  22. signal_switch_page().connect(sigc::mem_fun(*this, &EditTabs::on_switching_page));
  23. signal_preferences_update.connect(sigc::mem_fun(*this, &EditTabs::on_preferences_update));
  24. @@ -414,7 +414,7 @@
  25. bool EditTabs::CloseTab(int tab)
  26. {
  27. - extern SigC::Signal1<void,bool> signal_file_open;
  28. + extern sigc::signal1<void,bool> signal_file_open;
  29. if (tab<0)
  30. tab=get_current_page();
  31. @@ -686,8 +686,8 @@
  32. void EditTabs::on_switching_page(GtkNotebookPage *page, guint number)
  33. {
  34. - extern SigC::Signal1<void, int> signal_line_set;
  35. - extern SigC::Signal1<void, bool> signal_file_open;
  36. + extern sigc::signal1<void, int> signal_line_set;
  37. + extern sigc::signal1<void, bool> signal_file_open;
  38. Page *curtab = get_current_tab();
  39. if (curtab)
  40. @@ -735,7 +735,7 @@
  41. on_preferences_update();
  42. - extern SigC::Signal0<void> signal_preferences_update;
  43. + extern sigc::signal0<void> signal_preferences_update;
  44. get_buffer()->signal_modified_changed().connect(sigc::mem_fun(*this, &EditTabs::Page::on_modified_changed));
  45. get_buffer()->signal_changed().connect(sigc::mem_fun(*this, &EditTabs::Page::on_changed));
  46. get_buffer()->signal_mark_set().connect(sigc::mem_fun(*this, &EditTabs::Page::on_mark_changed));
  47. @@ -815,7 +815,7 @@
  48. void EditTabs::Page::on_changed()
  49. {
  50. - extern SigC::Signal1<void, int> signal_line_set;
  51. + extern sigc::signal1<void, int> signal_line_set;
  52. signal_line_set(get_buffer()->get_insert()->get_iter().get_line());
  53. }
  54. @@ -823,7 +823,7 @@
  55. void EditTabs::Page::on_mark_changed(Gtk::SourceBuffer::iterator iter, Glib::RefPtr<Gtk::SourceBuffer::Mark> mark){
  56. if (mark->get_name()=="insert")
  57. {
  58. - extern SigC::Signal1<void, int> signal_line_set;
  59. + extern sigc::signal1<void, int> signal_line_set;
  60. signal_line_set(get_buffer()->get_insert()->get_iter().get_line());
  61. diff -Naur amyeditbroken/src/StatusBar.cc amyedit-1.0/src/StatusBar.cc
  62. --- amyeditbroken/src/StatusBar.cc 2005-12-17 15:56:47.000000000 +0100
  63. +++ amyedit-1.0/src/StatusBar.cc 2008-07-12 05:09:14.020602906 +0200
  64. @@ -50,7 +50,7 @@
  65. #include "StatusBar.hh"
  66. #include "Utils.hh"
  67. -SigC::Signal1<void, int> signal_line_set;
  68. +sigc::signal1<void, int> signal_line_set;
  69. StatusBar::StatusBar()
  70. {