Vinod Joseph wrote:

> Sorry for the confusion

Yes, I'm afraid your description was confusing to some people.

> Anyways.....the major problem for design is with browsing password
> entries stored as "ASTERISK" in GtkList..
>
> The problem is with password entry stored as *********

I don't understand this. You have a GtkList with a column which only
displays "**********"? Does that make sense? And you want to compare the
input of a GtkEntry (masked with "*"s as well I think) against any of
those rows?

Sorry, at this point I have just two, probably non-helpful hints for
you: 1. you should probably use strcmp () instead of memcmp (), as
possibly the size argument of your memcomp was incorrect.

2. if you write your loops not like this
 
for ( i = 0; i <= my_list_store->len - 1 ; i++ )

but like this

for ( i = 0; i < my_list_store->len ; i++ )

it's not only slightly shorter to write but also saves one or two
machine instructions, hence is (very slightly) faster and shorter.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to