XFCalendar & DBH

Danny danny.milo at gmx.net
Thu Jul 10 20:04:05 CEST 2003


Hi Mickael and Edscott,

Am Don, 2003-07-10 um 15.22 schrieb edscott wilson garcia:
> El jue, 10-07-2003 a las 01:19, Mickael Graf escribió:
>    [...]
> BTW, xfcalendar does not compile on gtk-2.0.6:
> 
> /fast/CVS/sourceforge/xfce/xfce4-extras/xfcalendar/src/main.c:185:
> undefined reference to `gdk_screen_get_default'
> /fast/CVS/sourceforge/xfce/xfce4-extras/xfcalendar/src/main.c:185:
> undefined reference to `GDK_SCREEN_XSCREEN'

I do it like this (in Mixer plugin):

#if GTK_MINOR_VERSION >= 2
        s = gtk_widget_get_screen (widget);
#else
        s = gdk_drawable_get_screen (GDK_DRAWABLE (widget->window));
#endif

And it works till now, so maybe the same approach will work for
xfcalendar :)

cheers,
   Danny





More information about the Xfce4-dev mailing list