[gtk+] Bug 565665 - GtkTargetEntry member target should be const char *
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Bug 565665 - GtkTargetEntry member target should be const char *
- Date: Wed, 24 Nov 2010 20:04:45 +0000 (UTC)
commit c00b85bf3f9cb1dc77dd22f138eb53048eb355b7
Author: Michael Natterer <mitch gimp org>
Date: Wed Nov 24 21:01:45 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 ac9b082..4fa30a3 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]