summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-29 13:00:04 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-11-29 13:00:04 -0500
commit9c1e61e9aaa1e3777d2b37eae01d24f6ce155d71 (patch)
tree1da4caa4b336f0a0ce1a6143871a0d867e38297a /gtk/gtkselection.h
parent670dfdb7cc4491421da597b5c4df50bca1fc369c (diff)
downloadgtk+-9c1e61e9aaa1e3777d2b37eae01d24f6ce155d71.tar.gz
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.
Diffstat (limited to 'gtk/gtkselection.h')
-rw-r--r--gtk/gtkselection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h
index 4fa30a37d9..eddab0f4ad 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