GLib 2.25.2 released

2010-04-23 Thread Matthias Clasen
GLib 2.25.2 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.25/ http://download.gnome.org/sources/glib/2.25/ sha256 sums: 40abc1f3ec78ac3cf5d7d9a145b3332a527da7507ae8e07109c2897f1a9dd313 glib-2.25.2.tar.bz2 25fa5a2684a3b365a79f77b5cedebbd081d2480271495c21b335e956f900cf02

Re: different data types between clist and mysql.

2010-04-23 Thread Arthur 1989
thanks. now i have another question. i use treeview to store data, and when i get a cell data with gtk_tree_model_get(model, iter2, 1, s, -1),the data type of what i get is always a string.How to convert string into MYSQL_TYPE before i write it back into mysql. On Wed, Apr 21, 2010 at 4:05 AM,

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
I forgot to mention that I am using GTK Builder. From some googling, i found that g_module_lookup() is in libglade. Am I correct? Is there an equivalent function for GTK Builder? Date: Thu, 22 Apr 2010 22:08:44 -0400 Subject: Re: Callbacks when glade file is loaded using a dynamic library

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tor Lillqvist
I forgot to mention that I am using GTK Builder. From some googling, i found that g_module_lookup() is in libglade. Am I correct? No. Google harder. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
Google only returned 4 results for g_module_lookup(). The function is also not present in the gnome documentation either. However, I did find a whole host of g_module functions for dynamic libraries. Am I correct to assume that g_module_symbol is the replacement for g_module_lookup()?

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tor Lillqvist
libraries. Am I correct to assume that g_module_symbol is the replacement for g_module_lookup()? I think g_module_lookup() has never existed except in some comment where somebody mistyped it when they meant g_module_symbol()... --tml ___

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tristan Van Berkom
On Fri, Apr 23, 2010 at 4:40 AM, dfg dfg abx...@msn.com wrote: Hi Tristan, I am not sure if the symbols need to be visible in myapp. Currently, myapp attaches a glade file to create its interface and uses dlopen to open the .so dynamic library. The .so library loads its own GTK Builder which

GLib 2.25.3

2010-04-23 Thread Matthias Clasen
GLib 2.25.3 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.25/ http://download.gnome.org/sources/glib/2.25/ sha256 sums: e25c7677780e393e803c2d13a584e962732f5d981f8f0ba23c5a8f7f0f76a3f7 glib-2.25.3.tar.bz2 3e3675cf81095cfaf5619ffd09a32185bb173b40b506b25f64e615bb4b016f7b

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
Hi Tristan, As per my second post, I have been compiling my .so dynamic library and myapp with the --export-dynamic flag. I have however, solved the problem. The solution was to replace the dlopen() and other related functions with the correspondening functions in the g_module family.

Entry completion and GtkCellRendererComboEntry

2010-04-23 Thread dfg dfg
Hi everyone, I have an interface designed in glade that contains a treeview which contains a CellRendererComboEntry. What I'd like to do is attach an entry completion to it, such that one the user starts typing, a list of similiar entries in my model will show up. I have successfully

RE: Entry completion and GtkCellRendererComboEntry

2010-04-23 Thread dfg dfg
Looks like I have found the solution. Here is the code for those who might come across the same problem in the future. We need to use gtk_bin_get_childe as the GtkEntry is actually nested in the GtkCellRendererCombo itself. Here is the code for completeness: void testfunc(GtkCellRenderer