Excerpts from Jonh Wendell's message of sáb jun 05 20:35:52 +0200 2010: > Why does this symbol start with an underscore ? Can we use it in our > apps? > > Context: I'm trying to get libview GSEAL compatible. I got into this: > > if (window->group && window->group->grabs) { > grabbed = GTK_WIDGET(window->group->grabs->data); > } > > For window->group I have gtk_window_get_group(). gtk_window_get_group() always returns a valid pointer, use gtk_window_has_group() instead (added in gtk+ 2.21.1) > For group->grabs I don't have anything, but the "internal" function > _gtk_window_group_get_current_grab() gives me exactly what I want. > > So, can't we just get rid of that underscore and make this symbol > public? (Doing a recursive grep in gtk+ tree seems nobody is using this > 'internal' symbol anyway) > > Cheers, Regards, -- Carlos Garcia Campos PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
Attachment:
signature.asc
Description: PGP signature