Make targets const.

2004-10-28  Anders Carlsson  <andersca@gnome.org>

	* gtk/gtkclipboard.c: (gtk_clipboard_set_can_store):
	* gtk/gtkclipboard.h:
	Make targets const.
This commit is contained in:
Anders Carlsson 2004-10-27 23:51:21 +00:00 committed by Anders Carlsson
parent c1885969c0
commit 2774d80b7c
6 changed files with 30 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2004-10-28 Anders Carlsson <andersca@gnome.org>
* gtk/gtkclipboard.c: (gtk_clipboard_set_can_store):
* gtk/gtkclipboard.h:
Make targets const.
2004-10-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently

View File

@ -1,3 +1,9 @@
2004-10-28 Anders Carlsson <andersca@gnome.org>
* gtk/gtkclipboard.c: (gtk_clipboard_set_can_store):
* gtk/gtkclipboard.h:
Make targets const.
2004-10-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently

View File

@ -1,3 +1,9 @@
2004-10-28 Anders Carlsson <andersca@gnome.org>
* gtk/gtkclipboard.c: (gtk_clipboard_set_can_store):
* gtk/gtkclipboard.h:
Make targets const.
2004-10-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently

View File

@ -1,3 +1,9 @@
2004-10-28 Anders Carlsson <andersca@gnome.org>
* gtk/gtkclipboard.c: (gtk_clipboard_set_can_store):
* gtk/gtkclipboard.h:
Make targets const.
2004-10-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently

View File

@ -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;

View File

@ -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);