Do I set the environment variable? Because code like
setenv("G_SLICE", "always_malloc", 1);
g_thread_init(0);
doesn;t seem to work.
I noticed the g_slice_set_config functions in gslice.h and tried
g_slice_set_config(G_SLICE_CONFIG_ALWAYS_MALLOC, 1);
but this gives me the error
(process:6533):
Hi!
I'm working on small multi thread application based on Gobject. In one of my
objects I have integer variable, which determine current object's status.
The problem is, that I need to read it's status really often, so it will be
to expensive to lock and unlock mutex all the time. Can I use there
We have gone ahead and filed this behavior as a GTK/Win32 bug, complete
with example code and example workaround.
http://bugzilla.gnome.org/show_bug.cgi?id=445284
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/ma
On Thu, Jun 07, 2007 at 08:04:08PM +0100, Raja Mukherji wrote:
> I'm writing a binding for Gtk to my programming language Wrapl, and
> want to make sure that all memory is allocated by the Hans-Boehm
> garbage collector. The glib/gobject shared libraries are loaded
> dynamically and I call g_mem_se
Hi All,
I'm writing a binding for Gtk to my programming language Wrapl, and
want to make sure that all memory is allocated by the Hans-Boehm
garbage collector. The glib/gobject shared libraries are loaded
dynamically and I call g_mem_set_vtable to change to GC_malloc,
GC_realloc, GC_free, etc. Howe
Tor Lillqvist wrote:
> I would leave out the .dll here to avoid risking confusion. (Somebody
> might think you are referring to the dll files themselves here.) The
> Win32-targeted linker looks for also libfoo.dll.a, not just libfoo.a
> when it encounters -lfoo. At least natively, presumably also w
I wrote that, not James Scott.
Often times you need to hear it first, before you have a chance of
believing it. I hadn't heard that yet.
Time to add the use of gtk_idle_add or some such thing to get rid of the
multiple thread problem.
Bethany
On Thu, 2007-06-07 at 09:32 +0300, Tor Lillq
Gabriele Greco writes:
> CROSSLIBS = -L$(CROSSDIR)/lib/gtk-2.0 -mwindows -mno-cygwin \
The -mno-cygwin switch does nothing when compiling with a pure Win32
(mingw) compiler, as no Cygwin is involved at all.
> -lgtk-win32-2.0.dll -lgdk-win32-2.0.dll
I would leave out the .dll here to avoid risk
Bethany Seeger wrote:
> >From what I've read, I need to force (external) constants to be
> variables, but I'm not sure how I can do that when the errors are coming
> from the glib library, underneath Gtk/Gdk. (or declare them explicitly
> with __declspec(dllimport)).
>
> I'm relatively new to cr
Hello!
When I expand an item in a GtkTreeView that I just collapsed before,
only the first child level of the expanded item is shown.
Example:
Before collapsing:
- Item 1
- Item 11
- Item 111
- Item 112
- Item 12
After collapsing Item 1 and re-expanding it:
- Item 1
- Item
> GtkRadioButton is a GtkContainer (as any button) and can contain anything,
just don't use the convenience cosntructors and pack the icon or whatever
yourself. And see also gtk_toggle_button_set_mode().
> You should also consider GtkToolbar if you want to create a toolbar...
Thanks - I'll give
Please don't top-post.
On Thu, Jun 07, 2007 at 07:41:42AM +0100, Christopher Garrett wrote:
> I should have said that its for groups of tools,
> and I'd like to have icons on the buttons - I'm not sure that GtkRadioButtons
> can use icons, but if they can they'd be perfect for me.
GtkRadioButto
12 matches
Mail list logo