Re: Reducing unncessary string copying

2012-02-22 Thread Yasushi SHOJI
Hi Enrico, At Mon, 20 Feb 2012 13:08:05 +0100, Enrico Weigelt wrote: [...] and the call now would be create_foo(G_CSTR_STATIC(hello world)); in case we dont have an static string, but something with limited lifetime, it could look like this: create_foo(G_CSTR_DYNAMIC(bar));

Re: Trimming gdk-pixbuf repository

2011-05-24 Thread Yasushi SHOJI
At Sat, 21 May 2011 03:37:38 +0200, Olav Vitters wrote: On Thu, Mar 17, 2011 at 09:06:32PM +, Alberto Ruiz wrote: I am looking for comments from git experts on any of the operations I'm doing and how feasible would be to rewrite the git.gnome.org repository. The resulting repository

Re: Re[3]: gtk+3.0.9 compile error on Sparc Solaris10 by solstudio12.2

2011-04-19 Thread Yasushi SHOJI
At Wed, 20 Apr 2011 01:05:12 +0900, Mizuho Matsunaga wrote: gmake[4]: Entering directory `/opt/src/gtk+-3.0.9/gtk' CC gtksearchenginesimple.lo /usr/include/sys/feature_tests.h, line 332: #error: Compiler or options invalid for pre-UNIX 03 X /Open applications and pre-2001 POSIX

Re: BUG: GLib-Genmarshal-WARNING **: unknown type: VARIANT

2011-04-11 Thread Yasushi SHOJI
Hi Steven, At Mon, 11 Apr 2011 01:22:29 +0100, Steven Swann wrote: Hello All, I believe I have found a bug. Background: I am cross-compiling glib for an ARM11 target. I have built the toolchain loosely on the CLFS book. I am looking to get OPIE running on the board and as such,

Re: glib2.26: bus error in gtype.c:4073 type_check_is_value_type_U()

2010-12-05 Thread Yasushi SHOJI
Hi, At Thu, 25 Nov 2010 17:01:51 -0800, Henry Kroll wrote: [...] (gdb) p node $1 = (TypeNode *) 0x4039 ^^^If you will note here, node has a very odd value when it crashes from clicking the mouse on it. It is normally something like (TypeNode *) 0x80529d8 and the

Re: microseconds ought to be enough for anybody

2010-11-01 Thread Yasushi SHOJI
Hi, # I'm not an expart of data/time, timer precision or anything. but, # working with some embedded systems. so I might be biased by that. At Mon, 01 Nov 2010 12:06:48 -0400, Ryan Lortie wrote: - microseconds ought to be enough for anybody A nanosecond is on the scale of

Re: rendering-cleanup

2010-08-17 Thread Yasushi SHOJI
At Thu, 22 Jul 2010 10:24:05 +0100, Emmanuele Bassi wrote: Also, I'm aware that we are very close to a release. I'd understand if that'd make people not want to merge it. But I think it's worth it and the impact is very small compared to the other changes in Gtk3. I tend to agree,

Re: rendering-cleanup

2010-08-03 Thread Yasushi SHOJI
Hi, At Mon, 2 Aug 2010 22:14:05 -0400, Havoc Pennington wrote: On Mon, Aug 2, 2010 at 9:21 PM, Yasushi SHOJI ya...@atmark-techno.com wrote: what am I missing? or what should I do to port a RGB565 application to new 3.0 platform? What are you doing with the RGB565 data? GdkImage only

glib: love to have GIO::GLocalFile::canonicalize_filename in glib

2010-08-03 Thread Yasushi SHOJI
Hi, just noticed that GLocalFile have a static function to canonicalize a file name, canonicalize_filename(). the function does not depends on gio funcs at all. So, wouldn't it be nice to have in glib, say gutils.c::g_path_canonicalize() ? would you take a patch if I create it? Thanks, --

Re: glib: love to have GIO::GLocalFile::canonicalize_filename in glib

2010-08-03 Thread Yasushi SHOJI
At Tue, 3 Aug 2010 12:34:55 +0200, Christian Dywan wrote: See https://bugzilla.gnome.org/show_bug.cgi?id=111848 ah! next time I'll search the bugzilla first. Thanks, -- yashi ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: rendering-cleanup

2010-08-03 Thread Yasushi SHOJI
Hi, At Tue, 3 Aug 2010 08:43:07 -0400, Havoc Pennington wrote: On Tue, Aug 3, 2010 at 5:14 AM, Yasushi SHOJI ya...@atmark-techno.com wrote: I assume I can't do the following:        pixbuf = gdk_pixbuf_get_from_drawable(NULL,window,NULL, ...); Oh, this is really not what you want

Re: rendering-cleanup

2010-08-02 Thread Yasushi SHOJI
At Thu, 22 Jul 2010 10:24:05 +0100, Emmanuele Bassi wrote: Also, I'm aware that we are very close to a release. I'd understand if that'd make people not want to merge it. But I think it's worth it and the impact is very small compared to the other changes in Gtk3. I tend to agree,

why not gtk_style_*() in gtkstyle.[ch]?

2000-09-18 Thread Yasushi Shoji
hello all, quick question: why did you name gtk_{draw,paint}_* instead of gtk_style_*? and lazy question: how do object oriented language bindings handling this? I mean do those function under the class of Gtk::Style, or stay somewhere else as util functions? thanks in advance. --