Re: [gtk-list] Re: Perl/Gtk - Limits of the bindings?



etienne grossmann wrote:

>   it doesn't work. However (ugly hack), if I apply the patch below and
> "make" and "make install", it will work. (don't apply that patch, as
> it's a dumb hack).
> 
> ======================================================================
> --- build/GtkDefs.c.orig        Tue Jun 29 18:32:47 1999
> +++ build/GtkDefs.c     Tue Jun 29 18:44:36 1999
> @@ -2968,6 +2968,7 @@
>         enum_GtkPolicyType = newHV();
>         hv_store(enum_GtkPolicyType, "always", 6, newSViv(GTK_POLICY_ALWAYS), 0);
>         hv_store(enum_GtkPolicyType, "automatic", 9, newSViv(GTK_POLICY_AUTOMATIC), 0);
> +       hv_store(enum_GtkPolicyType, "never", 5, newSViv(GTK_POLICY_AUTOMATIC), 0);

It looks like you are defining "never" as an alias to "AUTOMATIC" here.
Is this a typo, or is that what you really wanted?
 
>         enum_GtkPositionType = newHV();
>         hv_store(enum_GtkPositionType, "left", 4, newSViv(GTK_POS_LEFT), 0);
> ======================================================================
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]