1 --- Src/Gtk2/dasher_action_speech.cpp 2007/09/25 22:31:10 1.1
2 +++ Src/Gtk2/dasher_action_speech.cpp 2007/09/25 22:33:16
3 @@ -28,8 +28,8 @@ typedef struct _DasherActionSpeechPrivat
5 G_DEFINE_TYPE(DasherActionSpeech, dasher_action_speech, TYPE_DASHER_ACTION);
7 -static gboolean dasher_action_speech_execute(DasherAction *pSelf, DasherEditorInternal *pEditor, int iIdx);
8 -static gboolean dasher_action_speech_preview(DasherAction *pSelf, DasherEditorInternal *pEditor);
9 +static gboolean dasher_action_speech_execute(DasherAction *pSelf, DasherEditor *pEditor, int iIdx);
10 +static gboolean dasher_action_speech_preview(DasherAction *pSelf, DasherEditor *pEditor);
11 static const gchar *dasher_action_speech_get_name(DasherAction *pSelf);
12 static int dasher_action_speech_get_sub_count(DasherAction *pSelf);
13 static const gchar *dasher_action_speech_get_sub_name(DasherAction *pSelf, int iIdx);
14 @@ -66,17 +66,17 @@ dasher_action_speech_new() {
18 -dasher_action_speech_execute(DasherAction *pSelf, DasherEditorInternal *pEditor, int iIdx) {
19 +dasher_action_speech_execute(DasherAction *pSelf, DasherEditor *pEditor, int iIdx) {
20 DasherActionSpeechPrivate *pDasherActionSpeechPrivate = DASHER_ACTION_SPEECH_GET_PRIVATE(pSelf);
26 - szData = dasher_editor_internal_get_all_text(pEditor);
27 + szData = dasher_editor_get_all_text(pEditor);
30 - szData = dasher_editor_internal_get_new_text(pEditor);
31 + szData = dasher_editor_get_new_text(pEditor);
34 szData = pDasherActionSpeechPrivate->szLast;
35 @@ -107,8 +107,8 @@ dasher_action_speech_execute(DasherActio
39 -dasher_action_speech_preview(DasherAction *pSelf, DasherEditorInternal *pEditor) {
40 - const gchar *szData = dasher_editor_internal_get_all_text(pEditor);
41 +dasher_action_speech_preview(DasherAction *pSelf, DasherEditor *pEditor) {
42 + const gchar *szData = dasher_editor_get_all_text(pEditor);