Help Broadway Backend

2013-02-09 Thread Diego Felix (Bill)
Hi, I tried to make the gtk+ from git repository (branch broadway) but I received this error: bill@bill-laptop:~/workspace/gtk+$ make make all-recursive make[1]: Entering directory `/home/bill/workspace/gtk+' Making all in po make[2]: Entering directory `/home/bill/workspace/gtk+/po' make[2]:

Get the summary from a key in GSettings

2013-02-09 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all: I'm creating an extension for Gnome shell and want to simplify some parts of the configuration. To do so, I need to get the summary text from GSettings, given its key. I've been checking the C API but I can't find a suitable method. Is there

Re: Help Broadway Backend

2013-02-09 Thread Florian Müllner
On Sat, Feb 9, 2013 at 12:39 AM, Diego Felix (Bill) diegob...@gmail.com wrote: I tried to make the gtk+ from git repository (branch broadway) Why? That's an old development branch that has long been merged to master; to build the broadway backend, just configure GTK+ (master or any version =

Overhead of type casting when using GObject system

2013-02-09 Thread Lanoxx
Hi, I am looking for information about the type system used in GType and GObject. Im am interested to know, how much overhead is created by the type casting macros. AFAIK types in GTK can be dynamic as well as static [1]. I am assuming that most types in GTK are static types. But still if I am

Re: Overhead of type casting when using GObject system

2013-02-09 Thread Alberto Garcia
On Sat, Feb 09, 2013 at 10:53:25AM +0100, Lanoxx wrote: So if in C if write this: GtkGrid* grid = gtk_grid_new(); GtkWidget* widget = GTK_WIDGET(grid); then this creates more overhead then when in Java I write this: JTabel tabel = new JTabel(); Object object = tabel; // No cast required.

Re: Making GtkEntry::scroll-offset read/write?

2013-02-09 Thread John Stowers
If interested I can GTKfy the code and open a feature request in bugzilla. There are already existing bug reports for validation here https://bugzilla.gnome.org/show_bug.cgi?id=446056 https://bugzilla.gnome.org/show_bug.cgi?id=50276 I think validation would be useful to have in Gtk too[1].

Help Broadway Backend

2013-02-09 Thread Diego Felix (Bill)
Hi, I tried to make the gtk+ from git repository (branch broadway) but I received this error: bill@bill-laptop:~/workspace/gtk+$ make make all-recursive make[1]: Entering directory `/home/bill/workspace/gtk+' Making all in po make[2]: Entering directory `/home/bill/workspace/gtk+/po' make[2]:

Re: Making GtkEntry::scroll-offset read/write?

2013-02-09 Thread David Trowbridge
The cursor logic looks sound, I think it's mostly an issue with the way that the pixel offsets are calculated in the presence of tabstops. I'll try to dig deeper and see if it's just a bug that can be fixed or a more structural problem. I'll also go in and see what might be required to

Re: Overhead of type casting when using GObject system

2013-02-09 Thread Alberto Garcia
On Sat, Feb 09, 2013 at 01:43:43PM +0100, Lanoxx wrote: However those cast checks can be disabled at compile time removing the overhead, so GTK_WIDGET(foo) would be equivalent to (GtkWidget *) foo. Ah thats good to know. But still I believe that most applications that are shipped with gnome