[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Errors with current build and icons
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Errors with current build and icons |
Date: |
Tue, 10 Sep 2002 12:43:09 +0000 |
User-agent: |
Mutt/1.4i |
On Tue, Sep 10, 2002 at 02:14:48PM +0200, Jim Segrave wrote
[snip]
> OK - that was easy.
> gtk_image_new_from_stock requires enums for the icon sizes, not pixel
> counts.
>
> Changing the 16 to GTK_ICON_SIZE_SMALL_TOOLBAR and it's all happy again.
>
>
> #if USE_GTK2
> bd->reset =
> button_from_image ( gtk_image_new_from_stock ( GTK_STOCK_UNDO,
> GTK_ICON_SIZE_SMALL_TOOLBAR ) );
> #else
>
> and
> #if USE_GTK2
> bd->stop =
> button_from_image ( gtk_image_new_from_stock ( GTK_STOCK_STOP,
> GTK_ICON_SIZE_SMALL_TOOLBAR ) );
> #else
OK, I'll commit these changes.
Jørn
--
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)