Re: [code] GTK3 and view splitting

From: Mitchell <m.att.foicica.com>
Date: Mon, 12 Jan 2015 12:03:46 -0500 (EST)

Hi Brian,

On Sat, 10 Jan 2015, Brian Schott wrote:

> The problem is that GTK_IS_HPANED (called from l_pushsplittable) is
> returning true for all GtkPaned* regardless of orientation. I think the
> solution that uses the fewest lines of code is to add the following to the
> #defines near line 61 of textadept.c:
>
> #undef GTK_IS_HPANED
> #define GTK_IS_HPANED(w) gtk_orientable_get_orientation(GTK_ORIENTABLE(w))
> == GTK_ORIENTATION_HORIZONTAL

Thanks for looking into this. Since GtkOrientable is available in GTK
2.24.x, I'll use your test instead of the GTK_IS_HPANED macro.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 12 Jan 2015 - 12:03:46 EST

This archive was generated by hypermail 2.2.0 : Tue 13 Jan 2015 - 06:54:06 EST