[gtk+/native-layout] Use const gchar* in gtk_window_get_icon_name implementation



commit cad18bbfe3ed7f46925705c760781e9150dc0846
Author: Christian Dywan <christian twotoasts de>
Date:   Mon Jan 11 10:35:06 2010 +0100

    Use const gchar* in gtk_window_get_icon_name implementation
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 11913cd..106c93f 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -3561,7 +3561,7 @@ gtk_window_set_icon_name (GtkWindow   *window,
  *
  * Since: 2.6
  */
-G_CONST_RETURN gchar *
+const gchar *
 gtk_window_get_icon_name (GtkWindow *window)
 {
   GtkWindowIconInfo *info;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]