Pavel,

Please commit this.

Thanks
Srini.
On Mon, 2006-08-14 at 19:58 -0400, Pavel Roskin wrote:
> From: Pavel Roskin <[EMAIL PROTECTED]>
> 
> gtk/gtk.h needs to be included to make sure that cairo_font_options_t is
> defined.  Without this patch, callers of get_font_options() get the
> lower 32 bit of the pointer, which causes breakage on 64-bit systems.
> ---
> 
>  e-util/e-util.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/e-util/e-util.h b/e-util/e-util.h
> index 0346a9f..d885f9f 100644
> --- a/e-util/e-util.h
> +++ b/e-util/e-util.h
> @@ -28,6 +28,7 @@ #include <sys/types.h>
>  #include <glib-object.h>
>  #include <limits.h>
>  #include <gconf/gconf-client.h>
> +#include <gtk/gtk.h>
>  
>  #ifdef __cplusplus
>  extern "C" {
> @@ -214,6 +215,7 @@ gchar    *e_ascii_dtostr                
>     Less than 0 for the int means copy the whole string. */
>  gchar    *e_strdup_append_strings                                          
> (gchar             *first_string,
>                                                                           
> ...);
> +cairo_font_options_t *get_font_options();
>  
>  #ifdef __cplusplus
>  }
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers@gnome.org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers

_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers

Reply via email to