Re: RFC: Adding zlib dependency to libgio

2009-11-10 Thread Alexander Larsson
On Mon, 2009-11-09 at 09:33 -0600, Shaun McCance wrote: How do you envision the optional extra support being provided? Would there be extension points that GVFS could plug into? Or compile-time optional modules like the GdkPixbuf loaders? Or would applications be expected to provide the

Re: GDBus API Questions; was: GDBus/GVariant plans for next GLib release

2009-11-10 Thread Mikkel Kamstrup Erlandsen
2009/11/9 David Zeuthen da...@fubar.dk: Hey Mikkel, Sorry for not replying sooner! On Wed, 2009-10-28 at 21:23 +0100, Mikkel Kamstrup Erlandsen wrote: Attached is a series of patches (0001 should be identical to my previous) implementing what you describe, except adding the gboolean

Re: RFC: Adding zlib dependency to libgio

2009-11-10 Thread nf2
On Tue, Nov 10, 2009 at 9:44 AM, Alexander Larsson al...@redhat.com wrote: On Mon, 2009-11-09 at 23:03 -0500, Paul Davis wrote: On Mon, Nov 9, 2009 at 6:23 AM, Alexander Larsson al...@redhat.com wrote: I know you're really interested in cross-desktop VFS support, and I don't disagree with

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-10 Thread Kristian Rietveld
On Nov 10, 2009, at 12:19 AM, Allin Cottrell wrote: Unfortunately this is not immediately clear if you google, say, gtk osx. Ah yes, that's very true. I am really hidden in/behind my git repositories as you might understand ;) Bottom line: If there's any way to improve the web presence

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-10 Thread Kristian Rietveld
On Nov 10, 2009, at 12:35 AM, Jacob Juul Kolding wrote: A framework as in the Gtk.framework folder you add to the Xcode project and then build? Yes. It didn't work yet by just dragging in the Gtk.framework folder at the time. But we provided an installer and XCode project template that

Calling gtk code from two different threads

2009-11-10 Thread Raja Mukherji
I have a problem where I have to call gtk code, including two gtk_main's, from two different threads and was wondering if there's any way to do that _without_ calling gdk_thread_enter/gdk_thread_ leave. I'm writing a debugger for an interpreted language, using a gtk gui. The debugger works as

Re: RFC: Adding zlib dependency to libgio

2009-11-10 Thread Matthias Clasen
On Tue, Nov 10, 2009 at 5:49 AM, nf2 nf2.em...@gmail.com wrote: On Tue, Nov 10, 2009 at 9:44 AM, Alexander Larsson al...@redhat.com wrote: On Mon, 2009-11-09 at 23:03 -0500, Paul Davis wrote: On Mon, Nov 9, 2009 at 6:23 AM, Alexander Larsson al...@redhat.com wrote: As I'm reading the word

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-10 Thread Paul Davis
On Mon, Nov 9, 2009 at 1:10 PM, Jack Skellington dac...@gmail.com wrote: Also if a native Gtk+ OS X framework were available people who are maintaining Gtk+ apps would have the option to extend their user base to OS X quite quickly. All it requires to use it is to build the GTK stack yourself

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread John Ralls
On Nov 10, 2009, at 4:16 AM, Paul Davis wrote: On Mon, Nov 9, 2009 at 1:10 PM, Jack Skellington dac...@gmail.com wrote: Also if a native Gtk+ OS X framework were available people who are maintaining Gtk+ apps would have the option to extend their user base to OS X quite quickly. All it

RE: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Shawn Bakhtiar
For building an application... I couldn't agree more, about the framework vs. jhbuild and autotools. You definitely want the latter. I like XCode's editor. when looking at source code (the colors man the colors). It also has a lot of nice features such as collapsible sections, an intuitive way

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-10 Thread Allin Cottrell
On Tue, 10 Nov 2009, Paul Davis wrote: I do not believe that using a pre-built GTK OS X framework is desirable for users or developers. Include GTK as part of your app bundle. Its not hard to do and gives you complete control over which version of GTK is used by your app. I think this

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Tristan Van Berkom
On Tue, Nov 10, 2009 at 1:10 PM, John Ralls jra...@ceridwen.us wrote: On Nov 10, 2009, at 4:16 AM, Paul Davis wrote: On Mon, Nov 9, 2009 at 1:10 PM, Jack Skellington dac...@gmail.com wrote: Guys, I just wanted to take this ridiculously appropriate opportunity to congratulate you on the

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread John Ralls
On Nov 10, 2009, at 7:46 AM, Shawn Bakhtiar wrote: I don't know what all the complaint is about... I have been using the jhbuild scripts with little to no problems. I have had a few dependency issues but nothing that can not be figured out with a little reading of the script itself and

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-10 Thread John Ralls
On Nov 10, 2009, at 7:50 AM, Allin Cottrell wrote: On Tue, 10 Nov 2009, Paul Davis wrote: I do not believe that using a pre-built GTK OS X framework is desirable for users or developers. Include GTK as part of your app bundle. Its not hard to do and gives you complete control over which

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Jacob Juul Kolding
On Nov 10, 2009, at 4:46 PM, Shawn Bakhtiar wrote: For building an application... I couldn't agree more, about the framework vs. jhbuild and autotools. You definitely want the latter. I like XCode's editor. when looking at source code (the colors man the colors). It also has a lot of nice

[REMINDER] GTK+ IRC Team meeting - 2009-11-10

2009-11-10 Thread Emmanuele Bassi
hi everyone; this is a reminder for the GTK+ team IRC meeting: ◦ date: 2009-11-10 ◦ time: 20:00 UTC [0] ◦ channel: #gtk-devel on irc.gnome.org ◦ agenda: • RyanLortie: input on bug 600141 • RyanLortie: libmodel • RyanLortie: GVariant merge (bug: 600271) • miscellaneous as always,

Re: Calling gtk code from two different threads

2009-11-10 Thread Michael Torrie
Raja Mukherji wrote: I have a problem where I have to call gtk code, including two gtk_main's, from two different threads and was wondering if there's any way to do that _without_ calling gdk_thread_enter/gdk_thread_ leave. There is not, as GTK requires locking to access globals structures.

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-10 Thread Allin Cottrell
On Tue, 10 Nov 2009, John Ralls wrote: On Nov 10, 2009, at 7:50 AM, Allin Cottrell wrote: On Tue, 10 Nov 2009, Paul Davis wrote: I do not believe that using a pre-built GTK OS X framework is desirable for users or developers. Include GTK as part of your app bundle. Its not hard to

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread John Ralls
On Nov 10, 2009, at 9:20 AM, Jacob Juul Kolding wrote: That would be great! I've been trying to build it on Snow Leopard, butI i'm stuck now with jhbuild meta-gtk-osx-core failing to build ige-mac-integration: Please rerun gtk-osx-build-install.sh to get the most recent jhbuildrc.

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Jacob Juul Kolding
On Nov 10, 2009, at 7:32 PM, John Ralls wrote: On Nov 10, 2009, at 9:20 AM, Jacob Juul Kolding wrote: That would be great! I've been trying to build it on Snow Leopard, butI i'm stuck now with jhbuild meta-gtk-osx-core failing to build ige-mac-integration: Please rerun

Minutes of the GTK+ Team Meeting - 2009-11-10

2009-11-10 Thread Emmanuele Bassi
= minutes for the 2009-11-10 meeting = 1. bug 600141 (desrt) - dbus-1 brings in pthread - gio-2.0 doesn't - dlopen()-ing a shared object linking to pthread from a library that doesn't is a big no-no which kind of works in Linux but breaks things like gdb - big hammer: make gio-2.0 depend on

Minutes of the GTK+ Team Meeting - 2009-10-27

2009-11-10 Thread Emmanuele Bassi
= minutes for the 2009-10-27 meeting = 1. fundamental types for gint16/guint16 (bug: 562498) - initial request for D-Bus type system mapping - also requested by Vala - timj against the inclusion, and davidz and desrt agree that it's not required for GDbus at the moment 2. use target milestone

Re: Building Gtk-OSX

2009-11-10 Thread John Ralls
On Nov 10, 2009, at 11:50 AM, Jacob Juul Kolding wrote: On Nov 10, 2009, at 7:32 PM, John Ralls wrote: Please rerun gtk-osx-build-install.sh to get the most recent jhbuildrc. You'll have to build 32-bit to use ige-mac-integration (it uses Carbon), but the latest jhbuildrc skips it for you

Re: Minutes of the GTK+ Team Meeting - 2009-11-10

2009-11-10 Thread Owen Taylor
On Tue, 2009-11-10 at 17:19 -0500, Behdad Esfahbod wrote: On 11/10/2009 04:45 PM, Emmanuele Bassi wrote: 4. text-buffer 3.0 request (jessevdk) - split TextView: single TextBuffer driving two TextView widgets - there are problems with selection and cursor handling - move some things from

GDBus in gio? [was Re: Minutes of the GTK+ Team Meeting - 2009-11-10]

2009-11-10 Thread Stef Walter
Emmanuele Bassi wrote: 1. bug 600141 (desrt) - dbus-1 brings in pthread - gio-2.0 doesn't - dlopen()-ing a shared object linking to pthread from a library that doesn't is a big no-no which kind of works in Linux but breaks things like gdb - big hammer: make gio-2.0 depend on gthread-2.0

RE: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Shawn Bakhtiar
Re-build using jhbuild today: 1) Take new OS X Snow Leopard out of box (Nice!) 2) Apply all updates and installed xCode 3) Download and install latest version of git from http://code.google.com/p/git-osx-installer 4) open terminal: 5) type sh gtk-osx-build-setup.sh (let run) 6) when done;

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread John Ralls
On Nov 10, 2009, at 4:57 PM, Shawn Bakhtiar wrote: Re-build using jhbuild today: Let's not clutter up this list with support requests for Gtk-OSX. Gtk- OSX has its own support mailing list at gtk-osx-us...@lists.sourceforge.net ; you can subscribe at

Re: RFC: Adding zlib dependency to libgio

2009-11-10 Thread nf2
On Tue, Nov 10, 2009 at 1:41 PM, Matthias Clasen matthias.cla...@gmail.com wrote: On Tue, Nov 10, 2009 at 5:49 AM, nf2 nf2.em...@gmail.com wrote: On Tue, Nov 10, 2009 at 9:44 AM, Alexander Larsson al...@redhat.com wrote: On Mon, 2009-11-09 at 23:03 -0500, Paul Davis wrote: On Mon, Nov 9, 2009

Re: Gtk-OSX Frameworks (was: Why are developers...)

2009-11-10 Thread Jon Cruz
On Nov 10, 2009, at 5:44 PM, John Ralls wrote: For those who prefer a web forum, we have one of those, too, at http://sourceforge.net/apps.sourceforge.net/phpbb/gtk-osx/ You need to sign up for a sourceforge userid to post to it. 404 on that forum link

gobject ref and unref ?

2009-11-10 Thread Siddu
Hi all, How does one get to know if an API is adding a reference of its own to an object Passed as a Parameter and thereby incrementing the ref_count ? Is there any documentation available for it ? as to when to ref and unref it based upon the api's ? For example in the below code

Re: gobject ref and unref ?

2009-11-10 Thread Tadej Borovšak
Hello. Is there any documentation available for it ? as to when to ref and unref it based upon the api's ? You don't need to know those things, since object's total reference count is of no importance to you. All you need to do is keep track of your own references on an object. Let me explain

Re: gobject ref and unref ?

2009-11-10 Thread David Nečas
Please don't cross-post. On Tue, Nov 10, 2009 at 11:14:24PM +0530, Siddu wrote: How does one get to know if an API is adding a reference of its own to an object References represent ownership. Hence a reference is added if you provide an object to be taken and used later. Most methods that

Re: gobject ref and unref ?

2009-11-10 Thread Siddu
That was pretty neat thanks. On 11/10/09, Tadej Borovšak tadeb...@gmail.com wrote: Hello. Is there any documentation available for it ? as to when to ref and unref it based upon the api's ? You don't need to know those things, since object's total reference count is of no importance to

SOLVED: Re: Problem with gtk_tree_selection_select_path: background color does not change

2009-11-10 Thread Carlos Pereira
This is nicely working for me now, I should have been doing something wrong before, Carlos Hi list, I need to select multiple rows in a treeview, directly from my code, in MULTIPLE selection mode. This is a very simple treemodel, only one column with a string. Unfortunately, although

gdk_pixbuf_composite leaves artifacts in the dest pixbuf, if,dest_x is 0. Help please?

2009-11-10 Thread Todor Todorov
Hello list, I am trying to create a thumbnail from a digital image, which should not exceed 128 px width or height. After loading the image, I apply the EXIF orientation information, if available. In order to prettify the resulting display, I would like to place the pixbuf horizontally

Re: gdk_pixbuf_composite leaves artifacts in the dest pixbuf, if, dest_x is 0. Help please?

2009-11-10 Thread Todor Todorov
OK, something happened to the attached images, so let's see about inlining them ... offset is zero, no artifacts offset is zero, no artifacts offset is 16, artifacts at the right side of the imageoffset is 16, artifacts at the right side of the image On 11/10/2009 06:39 PM, Todor Todorov

Re: gdk_pixbuf_composite leaves artifacts in the dest pixbuf, if, dest_x is 0. Help please?

2009-11-10 Thread Todor Todorov
That did not work either, so I uploaded the 2 images on the Net and here are the links for the interested: [no artifacts] http://www.inselpix.com/img/833790624900.jpg [artifacts] http://www.inselpix.com/img/478403985121.jpg I hope someone can tell me, what I missed/did wrong when composing

Re: gdk_pixbuf_composite leaves artifacts in the dest pixbuf, if, dest_x is 0. Help please?

2009-11-10 Thread Todor Todorov
That did not work either, so I uploaded the 2 images on the Net and here are the links for the interested: [no artifacts] http://www.inselpix.com/img/833790624900.jpg [artifacts] http://www.inselpix.com/img/478403985121.jpg I hope someone can tell me, what I missed/did wrong when composing

Re: Ctrl-Click keyboard mouse event

2009-11-10 Thread Emmanuel Rodriguez
On Tue, Nov 10, 2009 at 10:56 PM, Carlos Pereira jose.carlos.pere...@ist.utl.pt wrote: Hi list, When a button press event is triggered, what is the proper way to know if the user is pressing down the Ctrl key? Tipically I would want to know this inside a button press event callback: int