Le mardi 04 janvier 2005 Ã 23:46 -0800, Mark Brettin a Ãcrit :
> I just installed gtk+-2.6.0 and there is no gtk-config?
> Was gtk-config removed and now the preferred method is
> pkg-config gtk+-2.0 --cflags --libs
Yes, gtk-config is a gtk 1.x feature.
> Or this there a gtk+-2.6.0-dev that I nee
I just installed gtk+-2.6.0 and there is no gtk-config?
Was gtk-config removed and now the preferred method is
pkg-config gtk+-2.0 --cflags --libs
???
Or this there a gtk+-2.6.0-dev that I need to install?
Thanks,
PS - man, compiling this took forever on my 650 MHZ machine!
:)
On Tue, Jan 04, 2005 at 04:59:19PM -0500, Tristan Van Berkom wrote:
>
> Hmmm, maybe you found a leak;
If the memory is still reachable (like in this case), then
it's an eventual leak, not a leak. In practice, reachable
not freed memory is usually the allocate-once-in-a-lifetime
case, i.e., memor
[...]
> > Your problem is probably that you are combining asprintf() with g_free(),
> > using g_strdup_printf should give you better results.
> >
>
> I rewrote the code using:
> a = g_strdup_printf("a");
>
> And have absolutely the same result!
Hmmm, maybe you found a leak;
Why dont you try run
On Tue, 4 Jan 2005 16:04:23 +, Eli Yukelzon <[EMAIL PROTECTED]> wrote:
> Hi there.
> I've stumbled uppon some weird behavior of g_hash_table, maybe some
> one can tell me if I wrong with this, or is this a real memory leak.
> Here's a little c prog that demonstrates the problem:
> =
Hi there.
I've stumbled uppon some weird behavior of g_hash_table, maybe some
one can tell me if I wrong with this, or is this a real memory leak.
Here's a little c prog that demonstrates the problem:
#include
void main(){
GHashTable * h= g_hash_table_new_full (
g_str
Diego Zuccato wrote:
> Just another doubt: is there a way to make the cells aligned? Now it
> seems more a vbox containing hboxes than a table...
Experimenting with combobox doubts continue to arise... :-(
*) Is it possible to avoid having the first item of the submenu report
the "father" item? Or
Tim Müller wrote:
> GtkCellRendererText *cell;
> cell = gtk_cell_renderer_text_new ();
> gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (cb1), cell, FALSE);
> gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (cb1), cell, "text", 0);
Just another doubt: is there a way to make the cells aligned? Now it
se
Hi
I am trying to get path at mouse position and get into following problem:
- when mouse pointer is moving over TreeView headers (column titles)
function gtk_get_path_at_pos() returns that mouse is pointing to top
left cell in the Grid.
Is there a way to determine that mouse is really over cell
Tim Müller wrote:
> GtkCellRendererText *cell;
> cell = gtk_cell_renderer_text_new ();
> gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (cb1), cell, FALSE);
> gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (cb1), cell, "text", 0);
ARGH! I KNEW I was forgetting something! Tks a lot!
> For the treevie
On Tuesday 04 January 2005 15:59, Diego Zuccato wrote:
> (snip code)
>
> Seems to create the correct tree (the menu in the combo box is
> multi-level), but both the menu and the tree are "empty" (no characters
> drawn).
> IIRC the same code built a valid tree in 2.4 (I'm now using 2.6 to have
Hello all.
Surely I'm missing something, but:
GtkWidget *w;
GtkComboBox *cb1;
GtkTreeStore *m;
GtkTreeIter n[6];
GladeXML *xml;
[...]
m=gtk_tree_store_new(3, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING);
gtk_tree_store_append(m, n+0, NULL);
gtk_tree_store_append(m, n+1, NULL);
gtk_tree_store_append(m
12 matches
Mail list logo