Re: gdbus - register handler/object on interface NULL

2013-08-23 Thread Osmo Antero
Hello, I have made a small server for Audio-Recorder. Take a look at dbus-server.[ch] modules. http://bazaar.launchpad.net/~osmoma/audio-recorder/trunk/view/head:/src/ $ audio-recorder --help can show the commands that can be sent to the server (to set or ask the recording state). // Osmo (Moma)

gdbus - register handler/object on interface NULL

2013-08-23 Thread Bernhard Schuster
I have to deal with a closed source server being based on qt + dbus. I try to connect to it via gdbus,glib. The connection works as follows: A mehod/object called message_handler has to be registered to the bus /exported. I call a remote method named send_data, afterwards the service/server calls

Re: gdbus - register handler/object on interface NULL

2013-08-23 Thread Bernhard Schuster
Thank you for your response, but your code also uses `node_info-interfaces[0]` as `interface` parameter when registering an object - thus does not solve my problem. Any other ideas? Best Bernhard 2013/8/21 Osmo Antero osm...@gmail.com Hello, I have made a small server for Audio-Recorder.

Re: Printing GtkTextView contents

2013-08-23 Thread John Coppens
On Tue, 20 Aug 2013 15:25:23 -0700 (PDT) Marco Ricci marcoricci2...@yahoo.com wrote: Is there a way by which I can query for the printer and use the results of the query to send the contents of the GtkTextView? Can someone please point me to a small example that does what I describe? I

Re: pixbuf outermost pixels are white

2013-08-23 Thread Søren Sandmann
Jan Kratochvil j...@jankratochvil.net writes: Hi, I found somewhere on web how to draw custom data images into a widget using Pixbuf. It basically works. Unfortunately the image always has the outermost source pixels mixed with white border. I want the whole window to be just blue but it

Re: pixbuf outermost pixels are white

2013-08-23 Thread Jan Kratochvil
On Fri, 23 Aug 2013 21:15:14 +0200, Søren Sandmann wrote: You probably want to set the extend mode to CAIRO_EXTEND_PAD by doing the C++ equivalent of this: cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_PAD); after setting the pixbuf as the cairo source. It really