diff --git a/ChangeLog b/ChangeLog index 771036d320..79ffb49a5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-10-28 Anders Carlsson + + * gtk/gtkclipboard.c: (gtk_clipboard_set_can_store): + * gtk/gtkclipboard.h: + Make targets const. + 2004-10-27 Matthias Clasen * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 771036d320..79ffb49a5c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-10-28 Anders Carlsson + + * gtk/gtkclipboard.c: (gtk_clipboard_set_can_store): + * gtk/gtkclipboard.h: + Make targets const. + 2004-10-27 Matthias Clasen * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 771036d320..79ffb49a5c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-10-28 Anders Carlsson + + * gtk/gtkclipboard.c: (gtk_clipboard_set_can_store): + * gtk/gtkclipboard.h: + Make targets const. + 2004-10-27 Matthias Clasen * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 771036d320..79ffb49a5c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-10-28 Anders Carlsson + + * gtk/gtkclipboard.c: (gtk_clipboard_set_can_store): + * gtk/gtkclipboard.h: + Make targets const. + 2004-10-27 Matthias Clasen * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c index 10f4793b1f..ce3dbba6a6 100644 --- a/gtk/gtkclipboard.c +++ b/gtk/gtkclipboard.c @@ -1340,9 +1340,9 @@ gtk_clipboard_store_timeout (GtkClipboard *clipboard) * Since: 2.6 */ void -gtk_clipboard_set_can_store (GtkClipboard *clipboard, - GtkTargetEntry *targets, - gint n_targets) +gtk_clipboard_set_can_store (GtkClipboard *clipboard, + const GtkTargetEntry *targets, + gint n_targets) { GtkWidget *clipboard_widget; int i; diff --git a/gtk/gtkclipboard.h b/gtk/gtkclipboard.h index bc7da190d4..c05e63cc4f 100644 --- a/gtk/gtkclipboard.h +++ b/gtk/gtkclipboard.h @@ -106,9 +106,9 @@ gboolean gtk_clipboard_wait_is_target_available (GtkClipboard *clipboard, GdkAtom target); -void gtk_clipboard_set_can_store (GtkClipboard *clipboard, - GtkTargetEntry *targets, - gint n_targets); +void gtk_clipboard_set_can_store (GtkClipboard *clipboard, + const GtkTargetEntry *targets, + gint n_targets); void gtk_clipboard_store (GtkClipboard *clipboard);