diff src/X_main.c @ 450:a417fd980228

Replace cairo_format_t with mb_img_fmt_t. - Replace all CAIRO_FORAMT_* with MB_IFMT_* - wrap functions return or are argumented with image format.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 05 Aug 2009 15:54:44 +0800
parents 16116d84bc5e
children 5c9e2a8a4bd8
line wrap: on
line diff
--- a/src/X_main.c	Tue Aug 04 23:47:34 2009 +0800
+++ b/src/X_main.c	Wed Aug 05 15:54:44 2009 +0800
@@ -141,7 +141,7 @@
     mb_action_t *act;
     PangoAttrList *attrs = pango_attr_list_new();
 
-    tmpsuf = mbe_image_surface_create(CAIRO_FORMAT_ARGB32, w, h);
+    tmpsuf = mbe_image_surface_create(MB_IFMT_ARGB32, w, h);
     tmpcr = mbe_create(tmpsuf);
 
     mbe_set_source_surface(cr, tmpsuf, 0, 0);