vte r2153 - in trunk: . src



Author: behdad
Date: Wed Nov 19 22:24:03 2008
New Revision: 2153
URL: http://svn.gnome.org/viewvc/vte?rev=2153&view=rev

Log:
2008-11-19  Behdad Esfahbod  <behdad gnome org>

        * src/vtepangocairo.c (font_info_create_for_screen),
        (font_info_destroy): Remove unused PangoCoverage.



Modified:
   trunk/ChangeLog
   trunk/src/vtepangocairo.c

Modified: trunk/src/vtepangocairo.c
==============================================================================
--- trunk/src/vtepangocairo.c	(original)
+++ trunk/src/vtepangocairo.c	Wed Nov 19 22:24:03 2008
@@ -129,8 +129,6 @@
 struct font_info {
 	PangoLayout *layout;
 
-	PangoCoverage *coverage;
-
 	struct unichar_info ascii_unichar_info[128];
 	GHashTable *other_unichar_info;
 
@@ -345,8 +343,6 @@
 	info->layout = layout = pango_layout_new (context);
 	g_object_unref (context);
 
-	info->coverage = pango_coverage_new ();
-
 	font_info_measure_font (info);
 
 	return info;
@@ -371,9 +367,6 @@
 		info->other_unichar_info = NULL;
 	}
 
-	pango_coverage_unref (info->coverage);
-	info->coverage = NULL;
-
 	info->width = info->height = info->ascent = 1;
 
 #ifdef PROFILE_COVERAGE



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]