/* WARNING: this code is dangerous, can cause sleepless nights,
* can cause your dog to die among other bad things
*
* we warned you and we're not liable for any head injuries.
*/
該檔案內還有另一行非常經典:
/* FIXME: I still have doubts if this works */
static void
gtk_tree_model_sort_row_deleted (GtkTreeModel *s_model,
GtkTreePath *s_path,
gpointer data)
falls hello, I've a question about "GtkTreeModelSort"
falls I found this comment in gtk/gtktreemodelsort.c ( gtk+-2.8.10 ):
falls /* WARNING: this code is dangerous, can cause sleepless nights,
falls * can cause your dog to die among other bad things
falls *
falls * we warned you and we're not liable for any head injuries.
falls */
falls Does it denote that I can't use the functions in this file ?
falls If this file is dangerous , why does it still stay in the gtk+'s stable
falls version ?
kris the comment is just sort of a joke really
falls I've debuged my program for serverl days. At last,I found it's not my fault ,it the bug of "GtkTreeModelSort"
kris (because the code is so hairy/complicated)
falls oh, my god, it's a joke
falls ?
deadchip o_O
kris you might want to try gtk+ HEAD, since some bugs have been fixed in there
kris else file a bug with a good testcase
falls ok, thank u all !
falls In gtk/gtktreemodelsort.c, I found another line :
falls /* FIXME: I still have doubts if this works */
falls static void
falls gtk_tree_model_sort_row_deleted (GtkTreeModel *s_model,
kris that one has been removed in gtk+ HEA DIIRC
falls oh , I see .
kris s/HEA DIIRC/HEAD IIRC/