G_LIST_REMOVE not working... at least not for me :-)
- From: Mike Dailey <daileyml yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: G_LIST_REMOVE not working... at least not for me :-)
- Date: Sat, 16 Nov 2002 15:50:05 -0800 (PST)
Here is a snippet of code form my app:
mainConnMgmtComboList = g_list_remove
(mainConnMgmtComboList,
g_strdup(FMC->appCURMGMTHOST.c_str()));
gtk_combo_set_popdown_strings (GTK_COMBO
(mainConnMgmtCombo), mainConnMgmtComboList);
appCURMGMTHOST is a string. I am able to add the
string to my combo box with g_list_append, and it
works fine. But when I try to remove the exact same
string with g_list_remove, it doesn't seem to work.
In other words, my combo box still contains the same
information... nothing was removed.
If the above snippet of code is incorrect, would
someone please reply with a small snippet to
demonstrate the proper way to use g_list_remove?
Thanks!
Mike
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]