Re: OS X 'make' error

2010-06-01 Thread Paul Davis
On Tue, Jun 1, 2010 at 1:36 AM, Sean wrote: > Hi, > > I'm trying to install gtk+ 2.20.1 on OS X 10.6.3. I receive the > following errors when running make: > > dyld: lazy symbol binding failed: Symbol not found: _iconv_open > Referenced from: /Users/sean/opt/gtk/lib/libglib-2.0.0.dylib > Expect

Re: OS X 'make' error

2010-06-01 Thread Sean
Hi, I have libiconv in ~/opt/gtk. Is there a variable I'm supposed to set that will resolve the problem? Thanks. On Tue, Jun 1, 2010 at 7:35 AM, Paul Davis wrote: > > > On Tue, Jun 1, 2010 at 1:36 AM, Sean wrote: >> >> Hi, >> >> I'm trying to install gtk+ 2.20.1 on OS X 10.6.3. I receive the >

Re: OS X 'make' error

2010-06-01 Thread Paul Davis
On Tue, Jun 1, 2010 at 9:05 AM, Sean wrote: > Hi, > > I have libiconv in ~/opt/gtk. Is there a variable I'm supposed to set > that will resolve the problem? > what is the output of env(1) ? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome

Re: OS X 'make' error

2010-06-01 Thread Sean
I'm sorry for the back and forth. I was able to resolve the problem. The issue was that glib wasn't configured with --with-libiconv. I reconfigured glib --with-libiconv and gtk+ installed. Thanks for your help, Paul. On Tue, Jun 1, 2010 at 9:19 AM, Paul Davis wrote: > > > On Tue, Jun 1, 2010 at

GtkAllocation accessor

2010-06-01 Thread Patrick Welche
Currently, gtk_widget_get_allocation is defined as: void gtk_widget_get_allocation (GtkWidget *widget, GtkAllocation *allocation) { g_return_if_fail (GTK_IS_WIDGET (widget)); g_return_if_fail (allocation != NULL); *allocation = widget->allocation; } To use i

Re: icons property of GtkScaleButton

2010-06-01 Thread Tristan Van Berkom
On Mon, May 31, 2010 at 5:58 PM, John Williams wrote: > Sorry for the late response. > > Why the convenience getter for this property isn't provided? > What would be the purpose of calling gtk_scale_button_get_icons() ? I'm not saying there definitely is no purpose, I just cant think of any use

Re: GtkAllocation accessor

2010-06-01 Thread Tadej Borovšak
Hi. > To use it, I need to > > GtkWidget *w = some_widget_new(some,properties); > GtkAlloction a; > gtk_widget_get_allocation(w, &a); > make use of a->width and friends > then free a? You don't need to free a because it's allocated on a stack. Also, you use a.width, not a->width when doing work.

Re: GtkAllocation accessor

2010-06-01 Thread Emmanuele Bassi
On Tue, 2010-06-01 at 14:37 +0100, Patrick Welche wrote: > Currently, gtk_widget_get_allocation is defined as: > > void > gtk_widget_get_allocation (GtkWidget *widget, >GtkAllocation *allocation) > { > g_return_if_fail (GTK_IS_WIDGET (widget)); > g_return_if_fai

Re: GtkAllocation accessor

2010-06-01 Thread Patrick Welche
On Tue, Jun 01, 2010 at 04:21:40PM +0200, Tadej Borov??ak wrote: > You don't need to free a because it's allocated on a stack. OK! > This is how a code snippet looks now: > > GtkAllocation a; > gtk_widget_get_allocation (w, &a); > do_some_calc (a.width, a.height); > > and this is how it would l