gtk+ r19368 - in trunk: . gtk



Author: mitch
Date: Mon Jan 14 14:22:59 2008
New Revision: 19368
URL: http://svn.gnome.org/viewvc/gtk+?rev=19368&view=rev

Log:
2008-01-14  Michael Natterer  <mitch imendio com>

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



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkoldeditable.c

Modified: trunk/gtk/gtkoldeditable.c
==============================================================================
--- trunk/gtk/gtkoldeditable.c	(original)
+++ trunk/gtk/gtkoldeditable.c	Mon Jan 14 14:22:59 2008
@@ -634,7 +634,7 @@
 {
   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 @@
 
   if (text)
     {
-      gtk_old_editable_paste_received (old_editable, text, FALSE);
+      gtk_old_editable_paste_received (old_editable, (gchar *) text, FALSE);
       g_free (text);
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]