gtk+ r21229 - in trunk: . gtk



Author: mitch
Date: Thu Aug 28 17:50:52 2008
New Revision: 21229
URL: http://svn.gnome.org/viewvc/gtk+?rev=21229&view=rev

Log:
2008-08-28  Christian Dywan  <christian imendio com>

	Bug 549734 â gtk_selection_data_get_data prototype is wrong

	* gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the
	'length' argument of gtk_selection_data_get_data a 'gint', that's
	what it should be.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkselection.c
   trunk/gtk/gtkselection.h

Modified: trunk/gtk/gtkselection.c
==============================================================================
--- trunk/gtk/gtkselection.c	(original)
+++ trunk/gtk/gtkselection.c	Thu Aug 28 17:50:52 2008
@@ -1180,7 +1180,7 @@
  **/
 const guchar*
 gtk_selection_data_get_data (GtkSelectionData *selection_data,
-                             guint	      *length)
+                             gint             *length)
 {
   g_return_val_if_fail (selection_data != NULL, NULL);
 

Modified: trunk/gtk/gtkselection.h
==============================================================================
--- trunk/gtk/gtkselection.h	(original)
+++ trunk/gtk/gtkselection.h	Thu Aug 28 17:50:52 2008
@@ -151,7 +151,7 @@
 GdkAtom       gtk_selection_data_get_data_type (GtkSelectionData *selection_data);
 gint          gtk_selection_data_get_format    (GtkSelectionData *selection_data);
 const guchar *gtk_selection_data_get_data      (GtkSelectionData *selection_data,
-                                                guint	         *length);
+                                                gint             *length);
 GdkDisplay   *gtk_selection_data_get_display   (GtkSelectionData *selection_data);
 
 void     gtk_selection_data_set      (GtkSelectionData     *selection_data,



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