[Gambas-user] 4025: Y U No Compile?

Bruce Bruen bbruen at ...2308...
Mon Aug 22 02:02:25 CEST 2011


On 22/08/11 09:14, Benoît Minisini wrote:
>> On 22/08/11 01:04, Benoît Minisini wrote:
>>      
>>>> I cannot reconcile this one.  4023 make'd with no problems.
>>>>          
>>> What is your GTK+ version ?
>>>        
>> gtk+2.24.5
>>
>> The gtk docs say that gtk_window_set_has_resize_grip is "since 3.0" and
>> the only thing I can find that is close is
>> gtk_statusbar_set_has_resize_grip.
>>
>> Bruce
>>
>>      
> I have gtk+2.24.4 on Ubuntu, and gtk_window_set_has_resize_grip is declared in
> the header files.
>
> I downloaded gtk+2.24.5 sources, and I didn't find
> gtk_window_set_has_resize_grip in it!
>
> WTF? Is it an Ubuntu WTF again?
>
>    
Could be ;-)

Anyway, I went and changed the offending area of gmainwindow on my local 
trunk to

487://            #if (GTK_MAJOR_VERSION>= 2&&  GTK_MINOR_VERSION>= 24) || (GTK_MAJOR_VERSION>= 3)

488:            #if (GTK_MAJOR_VERSION>= 3)

489:            gtk_window_set_has_resize_grip(GTK_WINDOW(border), false);

490:            #endif

and the make now completes properly.

But :'( running the IDE now fails with:

ERROR: #6: Type mismatch: wanted _IconViewItem, got _IconView_Item instead
0: ?
1: IconView._RefreshItem.1006
2: _IconView_Item.RefreshView.42
3: _IconView_Item.Text_Write.78
4: IconView.Add.250
5: IconPanel.Count_Write.117
6: IconPanel._new.46
7: FOption.FOption.0
8: FOption.FOption.0
9: FMain._new.41
10: Project.Main.268

I'll have a look at these over my morning coffee.

Bruce





More information about the User mailing list