[maemo-commits] [maemo-commits] r12995 - in projects/haf/trunk/maemo-launcher: . launcher

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Aug 2 01:47:23 EEST 2007
Author: guillem
Date: 2007-08-02 01:47:22 +0300 (Thu, 02 Aug 2007)
New Revision: 12995

Modified:
   projects/haf/trunk/maemo-launcher/ChangeLog
   projects/haf/trunk/maemo-launcher/launcher/booster_gtk.c
Log:
	* launcher/booster_gtk.c (init_cairo): Use PANGO_CAIRO_FONT_MAP to
	cast the PangoFontMap.


Modified: projects/haf/trunk/maemo-launcher/ChangeLog
===================================================================
--- projects/haf/trunk/maemo-launcher/ChangeLog	2007-08-01 22:39:11 UTC (rev 12994)
+++ projects/haf/trunk/maemo-launcher/ChangeLog	2007-08-01 22:47:22 UTC (rev 12995)
@@ -1,5 +1,10 @@
 2007-08-02  Guillem Jover  <guillem.jover at nokia.com>
 
+	* launcher/booster_gtk.c (init_cairo): Use PANGO_CAIRO_FONT_MAP to
+	cast the PangoFontMap.
+
+2007-08-02  Guillem Jover  <guillem.jover at nokia.com>
+
 	* launcher/summoner.c (summon_process) [DEBUG]: Move contents to ...
 	[!DEBUG]: ... here. Replace print_env_args with print_prog_env_argv.
 

Modified: projects/haf/trunk/maemo-launcher/launcher/booster_gtk.c
===================================================================
--- projects/haf/trunk/maemo-launcher/launcher/booster_gtk.c	2007-08-01 22:39:11 UTC (rev 12994)
+++ projects/haf/trunk/maemo-launcher/launcher/booster_gtk.c	2007-08-01 22:47:22 UTC (rev 12995)
@@ -141,7 +141,7 @@
   surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, 1, 1);
   cairo = cairo_create(surface);
   font_map = pango_cairo_font_map_get_default();
-  context = pango_cairo_font_map_create_context(font_map);
+  context = pango_cairo_font_map_create_context(PANGO_CAIRO_FONT_MAP(font_map));
   layout = pango_layout_new(context);
   pango_cairo_show_layout(cairo, layout);
 }


More information about the maemo-commits mailing list