projects
/
mdictionary
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f625f0c
)
* bugfix for converting special characters from Internet Search Home Applet
author
stranger
<dariusz.wiechecki@gmail.com>
Tue, 29 Jan 2008 07:53:07 +0000
(07:53 +0000)
committer
stranger
<dariusz.wiechecki@gmail.com>
Tue, 29 Jan 2008 07:53:07 +0000
(07:53 +0000)
git-svn-id: file:///svnroot/mdictionary/trunk@243
5bde0345
-f819-0410-ac75-
e5045f9217cc
src/gui/src/ws_gui_callbacks.c
patch
|
blob
|
history
diff --git
a/src/gui/src/ws_gui_callbacks.c
b/src/gui/src/ws_gui_callbacks.c
index
864c0b7
..
e6ddc6a
100644
(file)
--- a/
src/gui/src/ws_gui_callbacks.c
+++ b/
src/gui/src/ws_gui_callbacks.c
@@
-408,12
+408,12
@@
void ws_gui_search_home_handler(GError *error, GArray *word, gpointer user_data)
/*get the word passed by dbus*/
osso_data = &g_array_index (word, osso_rpc_t, 0);
- /*free memory used by last searched word*/
- gchar* tmp = NULL;
- tmp = g_strdup(osso_data->value.s + 11);
-
/* check for special characters in text starting with % */
ws_gui_word_conversion( osso_data );
+
+ /* make a copy of passed string */
+ gchar* tmp = NULL;
+ tmp = g_strdup(osso_data->value.s + 11);
g_object_set(G_OBJECT(data->ws_gui_hildon_find_toolbar),
"prefix",