From c00b85bf3f9cb1dc77dd22f138eb53048eb355b7 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 24 Nov 2010 21:01:45 +0100 Subject: [PATCH] Bug 565665 - GtkTargetEntry member target should be const char * --- gtk/gtkselection.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h index ac9b082fdb..4fa30a37d9 100644 --- a/gtk/gtkselection.h +++ b/gtk/gtkselection.h @@ -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