Details

[Home]

Issue of the Standard # D0141

Brief

Misprint in returned type of gtk_window_get_icon_name()

Detailed Description

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);

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.2. Chapter 15. Libraries. 15.21.1.1. Interfaces for GTK Drawing toolkit that refers http://www.gtk.org/api/2.6/gtk/GtkWindow.html#gtk-window-get-icon-name

Possible solutions

@@ -1 +1 @@
-gchar* gtk_window_get_icon_name (GtkWindow *window);
+const gchar* gtk_window_get_icon_name (GtkWindow *window);

Accepted

Gnome Bugzilla, 597100

Status

Fixed in GTK+ 2.18.x

[Home]