+Wed Aug 14 08:07:53 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
+
+ * gtk/gtkselection.c (gtk_selection_init): initialize
+ gtk_selection_atoms only once at the 1st call.
+ * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
+ set length of selection data from number of read bytes (#90595)
+
2002-08-14 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtktextview.c (gtk_text_view_focus): Move focus to
+Wed Aug 14 08:07:53 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
+
+ * gtk/gtkselection.c (gtk_selection_init): initialize
+ gtk_selection_atoms only once at the 1st call.
+ * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
+ set length of selection data from number of read bytes (#90595)
+
2002-08-14 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtktextview.c (gtk_text_view_focus): Move focus to
+Wed Aug 14 08:07:53 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
+
+ * gtk/gtkselection.c (gtk_selection_init): initialize
+ gtk_selection_atoms only once at the 1st call.
+ * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
+ set length of selection data from number of read bytes (#90595)
+
2002-08-14 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtktextview.c (gtk_text_view_focus): Move focus to
+Wed Aug 14 08:07:53 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
+
+ * gtk/gtkselection.c (gtk_selection_init): initialize
+ gtk_selection_atoms only once at the 1st call.
+ * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
+ set length of selection data from number of read bytes (#90595)
+
2002-08-14 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtktextview.c (gtk_text_view_focus): Move focus to
+Wed Aug 14 08:07:53 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
+
+ * gtk/gtkselection.c (gtk_selection_init): initialize
+ gtk_selection_atoms only once at the 1st call.
+ * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
+ set length of selection data from number of read bytes (#90595)
+
2002-08-14 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtktextview.c (gtk_text_view_focus): Move focus to
+Wed Aug 14 08:07:53 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
+
+ * gtk/gtkselection.c (gtk_selection_init): initialize
+ gtk_selection_atoms only once at the 1st call.
+ * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
+ set length of selection data from number of read bytes (#90595)
+
2002-08-14 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtktextview.c (gtk_text_view_focus): Move focus to
*ret_format = prop_format;
/* Add on an extra byte to handle null termination. X guarantees
- that t will be 1 longer than nbytes and null terminated */
- length = nbytes + 1;
+ that t will be 1 longer than nitems and null terminated */
+ length = nitems + 1;
if (data)
{
gtk_selection_atoms[MULTIPLE] = gdk_atom_intern ("MULTIPLE", FALSE);
gtk_selection_atoms[TIMESTAMP] = gdk_atom_intern ("TIMESTAMP", FALSE);
gtk_selection_atoms[TARGETS] = gdk_atom_intern ("TARGETS", FALSE);
+
+ initialize = FALSE;
}
/*************************************************************