[Bugs] #4242 sugar HIGH: "Send to Friend" feature not working

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Dec 5 15:54:16 EST 2012


#4242: "Send to Friend" feature not working
----------------------------+-----------------------------------------------
    Reporter:  ajay_garg    |          Owner:  humitos          
        Type:  defect       |         Status:  accepted         
    Priority:  High         |      Milestone:  0.98             
   Component:  sugar        |        Version:  Git as of bugdate
    Severity:  Unspecified  |       Keywords:  regression       
Distribution:  Fedora       |   Status_field:  Unconfirmed      
----------------------------+-----------------------------------------------

Comment(by humitos):

 We need to use these methods:

  * http://developer.gnome.org/gio/stable/GInputStream.html#g-input-stream-
 read-bytes-async
  * http://developer.gnome.org/gio/stable/GOutputStream.html#g-output-
 stream-write-bytes-async

 {{{
 g_input_stream_read_bytes ()

 Like g_input_stream_read(), this tries to read count bytes from the stream
 in a blocking fashion. However, rather than reading into a user-supplied
 buffer, this will create a new GBytes containing the data that was read.
 This may be easier to use from language bindings.
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4242#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list