summaryrefslogtreecommitdiff
blob: 51bfdcfdd26f57027fc3e4b6565c7c92aaa7a31e (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
--- Src/Gtk2/dasher_action_speech.cpp	2007/09/25 22:31:10	1.1
+++ Src/Gtk2/dasher_action_speech.cpp	2007/09/25 22:33:16
@@ -28,8 +28,8 @@ typedef struct _DasherActionSpeechPrivat
 
 G_DEFINE_TYPE(DasherActionSpeech, dasher_action_speech, TYPE_DASHER_ACTION);
 
-static gboolean dasher_action_speech_execute(DasherAction *pSelf, DasherEditorInternal *pEditor, int iIdx);
-static gboolean dasher_action_speech_preview(DasherAction *pSelf, DasherEditorInternal *pEditor);
+static gboolean dasher_action_speech_execute(DasherAction *pSelf, DasherEditor *pEditor, int iIdx);
+static gboolean dasher_action_speech_preview(DasherAction *pSelf, DasherEditor *pEditor);
 static const gchar *dasher_action_speech_get_name(DasherAction *pSelf);
 static int dasher_action_speech_get_sub_count(DasherAction *pSelf);
 static const gchar *dasher_action_speech_get_sub_name(DasherAction *pSelf, int iIdx);
@@ -66,17 +66,17 @@ dasher_action_speech_new() {
 }
 
 static gboolean 
-dasher_action_speech_execute(DasherAction *pSelf, DasherEditorInternal *pEditor, int iIdx) {
+dasher_action_speech_execute(DasherAction *pSelf, DasherEditor *pEditor, int iIdx) {
   DasherActionSpeechPrivate *pDasherActionSpeechPrivate = DASHER_ACTION_SPEECH_GET_PRIVATE(pSelf);
 
   const char *szData;
 
   switch(iIdx) {
   case 0:
-    szData = dasher_editor_internal_get_all_text(pEditor);
+    szData = dasher_editor_get_all_text(pEditor);
     break;
   case 1:
-    szData = dasher_editor_internal_get_new_text(pEditor);
+    szData = dasher_editor_get_new_text(pEditor);
     break;
   case 2:
     szData = pDasherActionSpeechPrivate->szLast;
@@ -107,8 +107,8 @@ dasher_action_speech_execute(DasherActio
 }
 
 static gboolean 
-dasher_action_speech_preview(DasherAction *pSelf, DasherEditorInternal *pEditor) {
-  const gchar *szData = dasher_editor_internal_get_all_text(pEditor);
+dasher_action_speech_preview(DasherAction *pSelf, DasherEditor *pEditor) {
+  const gchar *szData = dasher_editor_get_all_text(pEditor);
 
   if(!szData)
     return false;