]> git.pld-linux.org Git - packages/dasher.git/blob - dasher-action-speech.patch
- ver. 4.7.3
[packages/dasher.git] / dasher-action-speech.patch
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
4  
5  G_DEFINE_TYPE(DasherActionSpeech, dasher_action_speech, TYPE_DASHER_ACTION);
6  
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() {
15  }
16  
17  static gboolean 
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);
21  
22    const char *szData;
23  
24    switch(iIdx) {
25    case 0:
26 -    szData = dasher_editor_internal_get_all_text(pEditor);
27 +    szData = dasher_editor_get_all_text(pEditor);
28      break;
29    case 1:
30 -    szData = dasher_editor_internal_get_new_text(pEditor);
31 +    szData = dasher_editor_get_new_text(pEditor);
32      break;
33    case 2:
34      szData = pDasherActionSpeechPrivate->szLast;
35 @@ -107,8 +107,8 @@ dasher_action_speech_execute(DasherActio
36  }
37  
38  static gboolean 
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);
43  
44    if(!szData)
45      return false;
This page took 0.024561 seconds and 3 git commands to generate.