]> Pileus Git - ~andy/gtk/commitdiff
Bug 565665 - GtkTargetEntry member target should be const char *
authorMichael Natterer <mitch@gimp.org>
Wed, 24 Nov 2010 20:01:45 +0000 (21:01 +0100)
committerMichael Natterer <mitch@gimp.org>
Wed, 24 Nov 2010 20:01:45 +0000 (21:01 +0100)
gtk/gtkselection.h

index ac9b082fdbfeded98204f7c561181bb446b986f3..4fa30a37d961a4a5df03562496213d892017a20d 100644 (file)
@@ -66,10 +66,11 @@ struct _GtkSelectionData
   GdkDisplay   *GSEAL (display);
 };
 
-struct _GtkTargetEntry {
-  gchar *target;
-  guint  flags;
-  guint  info;
+struct _GtkTargetEntry
+{
+  const gchar *target;
+  guint        flags;
+  guint        info;
 };
 
 /* These structures not public, and are here only for the convenience of