Hi!
It seems like that function requires gtk 2.20.
You can without any (serious) consequences comment out:
if ((msgid[1] & 1) == 0)
gtk_widget_modify_bg(gtk_statusbar_get_message_area(statusbar)->parent,
GTK_STATE_NORMAL, &red);
else
gtk_widget_modify_bg(gtk_statusbar_get_message_area(statusbar)->parent,
GTK_STATE_NORMAL, NULL);
Since the only thing it does is blink the statusbar when an error has
occured.
We should probably add a version check, since 2.20 is rather new.
Regards, Klaus Post
http://www.klauspost.com
On Thu, Aug 4, 2011 at 14:04, Jonathan <[email protected]> wrote:
> Hi,
>
> I'm trying to compile Rawstudio 2.0 (Revision: 4021) on Fedora 11. However,
> I'm getting the following error when running make:
>
> gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/**local/share"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/**local/share/locale"\" -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/libxml2 -DORBIT2=1 -pthread
> -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/ -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gphoto2 -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include -I../librawstudio/ -I../ -Wall
> -fno-strict-aliasing -DWITH_GCONF -O4 -g -O2 -MT gtk-interface.o -MD -MP -MF
> .deps/gtk-interface.Tpo -c -o gtk-interface.o gtk-interface.c
> gtk-interface.c: In function ‘gui_statusbar_blink_helper’:
> gtk-interface.c:137: warning: implicit declaration of function
> ‘gtk_statusbar_get_message_**area’
> gtk-interface.c:137: error: invalid type argument of ‘->’ (have ‘int’)
> gtk-interface.c:139: error: invalid type argument of ‘->’ (have ‘int’)
> make[2]: *** [gtk-interface.o] Error 1
> make[2]: Leaving directory `/home/jonathan/Desktop/**rawstudio/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jonathan/Desktop/**rawstudio'
> make: *** [all] Error 2
>
> I have gtk2-2.16.2-6.fc11 installed on my machine.
>
> Any help would be greatly appreciated.
>
> Jonathan
>
> ______________________________**_________________
> Rawstudio-dev mailing list
> [email protected]
> http://rawstudio.org/cgi-bin/**mailman/listinfo/rawstudio-dev<http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev>
>
_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev