mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
824e2c74bb
commit
730c907eff
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user