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