[gtk+/gtk-2-24] Bug 565665 - GtkTargetEntry member target should be const char *



commit b3c5232a9b63f23aca4909a0a47358b53162d70b
Author: Michael Natterer <mitch gimp org>
Date:   Wed Nov 24 21:01:10 2010 +0100

    Bug 565665 - GtkTargetEntry member target should be const char *

 gtk/gtkselection.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h
index 55bfcad..a621d1e 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



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