GNOME Bugzilla – Bug 597100
There is a misprint in the documentation of gtk_window_get_icon_name()
Last modified: 2010-01-11 09:35:58 UTC
Created attachment 144582 [details] This is a patch for the problem There is a misprint in the documentation of gtk_window_get_icon_name(): gchar* gtk_window_get_icon_name (GtkWindow *window); But it should be written const gchar* gtk_window_get_icon_name (GtkWindow *window); Also reported at http://linuxtesting.org/results/report?num=D0141
I don't understand your "patch". This would seem to be a bug in gtk-doc. Or maybe it's a good idea to use const in the function implementation, presumably G_CONST_RETURN is not really useful there anyway.
Created attachment 150834 [details] [review] Use const in the implementation of gtk_window_get_icon_name
Yeah, I think we generally use G_CONST_RETURN in headers, and const in the actual implementation.
Pushed to master.