SOURCES: dasher-action-speech.patch (NEW) - http://bugzilla.gnome....

sls sls at pld-linux.org
Fri Oct 12 03:30:09 CEST 2007


Author: sls                          Date: Fri Oct 12 01:30:09 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- http://bugzilla.gnome.org/show_bug.cgi?id=479524

---- Files affected:
SOURCES:
   dasher-action-speech.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dasher-action-speech.patch
diff -u /dev/null SOURCES/dasher-action-speech.patch:1.1
--- /dev/null	Fri Oct 12 03:30:09 2007
+++ SOURCES/dasher-action-speech.patch	Fri Oct 12 03:30:04 2007
@@ -0,0 +1,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;
================================================================


More information about the pld-cvs-commit mailing list