[gtk+] Revert c00b85bf3f9cb1dc77dd22f138eb53048eb355b7



commit 9c1e61e9aaa1e3777d2b37eae01d24f6ce155d71
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 29 13:00:04 2010 -0500

    Revert c00b85bf3f9cb1dc77dd22f138eb53048eb355b7
    
    This needs more work, currently we do dupe targets when copying
    target entries in various places, and consequently free them
    later. To do this correctly, the strings need to be interned
    or something like that.

 gtk/gtkselection.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h
index 4fa30a3..eddab0f 100644
--- a/gtk/gtkselection.h
+++ b/gtk/gtkselection.h
@@ -68,9 +68,9 @@ struct _GtkSelectionData
 
 struct _GtkTargetEntry
 {
-  const gchar *target;
-  guint        flags;
-  guint        info;
+  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]