I've noticed the current CVS is not updating the GUI (GTK2 in my case)
with Bitzi data. All my searches are coming up with "Not in Database".
However if I attach to a running gdb and trace thorugh I can see the
metadata field of rd getting set:

(gdb) b search_gui_metadata_update
Breakpoint 1 at 0x514d6d: file search.c, line 1847.
(gdb) c
Continuing.

Breakpoint 1, search_gui_metadata_update (data=0x207d890) at
search.c:1847
warning: Source file is more recent than executable.
1847            text = bitzi_gui_get_metadata(data);
(gdb) n
1853            for (iter = searches; iter != NULL; iter =
g_list_next(iter)) {
(gdb) p text
$1 = (
    gchar *) 0x1eafbb0 "Best Version (3.5): video/x-msvideo (624x352, 24
fps, 1175 bitrate)"
(gdb) n
1855                    search_t *search = iter->data;
(gdb) n
1857                    rd = find_parent_with_sha1(search->parents,
data->urnsha1);
(gdb) n
1858                    if (rd) {
(gdb) p rd
$2 = (struct result_data *) 0x187d1c0
(gdb) c
Continuing.
Program received signal SIGINT, Interrupt.
0x00002aaaac557c4f in poll () from /lib/libc.so.6
(gdb) p $2
$5 = (struct result_data *) 0x187d1c0
(gdb) p *$
$6 = {iter = {stamp = -255958115, user_data = 0x18c4978, user_data2 =
0x0,
    user_data3 = 0x0}, fg = 0x0, bg = 0x0, record = 0x1719c60, ext =
0x185df78 "avi",
  meta = 0x1eafbb0 "Best Version (3.5): video/x-msvideo (624x352, 24
fps, 1175 bitrate)", info = 0x12fb7c0 "LimeWire, push, proxy, udp
69.167.59.52, browsable", count = 75}

How do I ensure the actual text is refreshed in the GUI?


--
Alex, homepage: http://www.bennee.com/~alex/
"A University without students is like an ointment without a fly." -- Ed
Nather, professor of astronomy at UT Austin



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to