fix signedness warning.

2008-01-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
	signedness warning.


svn path=/trunk/; revision=19368
This commit is contained in:
Michael Natterer 2008-01-14 14:22:59 +00:00 committed by Michael Natterer
parent 824e2c74bb
commit 730c907eff
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
signedness warning.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkiconcache.c (find_image_offset): remove unused variable.

View File

@ -634,7 +634,7 @@ gtk_old_editable_selection_received (GtkWidget *widget,
{
GtkOldEditable *old_editable = GTK_OLD_EDITABLE (widget);
gchar *text = gtk_selection_data_get_text (selection_data);
guchar *text = gtk_selection_data_get_text (selection_data);
if (!text)
{
@ -660,7 +660,7 @@ gtk_old_editable_selection_received (GtkWidget *widget,
if (text)
{
gtk_old_editable_paste_received (old_editable, text, FALSE);
gtk_old_editable_paste_received (old_editable, (gchar *) text, FALSE);
g_free (text);
}
}