Make the data argument const guchar *.
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkselection.[ch]: Make the data argument const guchar *.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkselection.[ch]: Make the data argument
|
||||
const guchar *.
|
||||
|
||||
Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcc.c: Stop leaking the color_hash all over
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkselection.[ch]: Make the data argument
|
||||
const guchar *.
|
||||
|
||||
Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcc.c: Stop leaking the color_hash all over
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkselection.[ch]: Make the data argument
|
||||
const guchar *.
|
||||
|
||||
Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcc.c: Stop leaking the color_hash all over
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkselection.[ch]: Make the data argument
|
||||
const guchar *.
|
||||
|
||||
Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcc.c: Stop leaking the color_hash all over
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkselection.[ch]: Make the data argument
|
||||
const guchar *.
|
||||
|
||||
Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcc.c: Stop leaking the color_hash all over
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkselection.[ch]: Make the data argument
|
||||
const guchar *.
|
||||
|
||||
Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcc.c: Stop leaking the color_hash all over
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkselection.[ch]: Make the data argument
|
||||
const guchar *.
|
||||
|
||||
Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkcc.c: Stop leaking the color_hash all over
|
||||
|
||||
@@ -685,7 +685,7 @@ void
|
||||
gtk_selection_data_set (GtkSelectionData *selection_data,
|
||||
GdkAtom type,
|
||||
gint format,
|
||||
guchar *data,
|
||||
const guchar *data,
|
||||
gint length)
|
||||
{
|
||||
if (selection_data->data)
|
||||
|
||||
@@ -103,7 +103,7 @@ gint gtk_selection_convert (GtkWidget *widget,
|
||||
void gtk_selection_data_set (GtkSelectionData *selection_data,
|
||||
GdkAtom type,
|
||||
gint format,
|
||||
guchar *data,
|
||||
const guchar *data,
|
||||
gint length);
|
||||
|
||||
/* Called when a widget is destroyed */
|
||||
|
||||
Reference in New Issue
Block a user