summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-09-13 17:15:43 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-09-13 17:15:43 +0000
commit74f0a825227c1fe752aa3bb0154f4837370c158f (patch)
tree2fc9ed53361e409da02886f3cb671046fec1707c /modules
parent11d584b1eb19e8f83864d7aa958fd01d2f9352dd (diff)
downloadpango-74f0a825227c1fe752aa3bb0154f4837370c158f.tar.gz
Drop unused font_cache variable and the call to
2005-09-13 Tor Lillqvist <tml@novell.com> * modules/basic/basic-win32.c: Drop unused font_cache variable and the call to pango_win32_font_map_for_display() used in its initialization, which caused an extra instance of PangoWin32FontMap to be created, and fonts enumerated an extra time.
Diffstat (limited to 'modules')
-rw-r--r--modules/basic/basic-win32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c
index 9e068409..726b3e3f 100644
--- a/modules/basic/basic-win32.c
+++ b/modules/basic/basic-win32.c
@@ -70,8 +70,6 @@ static gboolean pango_win32_debug = FALSE;
static gboolean have_uniscribe = FALSE;
-static PangoWin32FontCache *font_cache;
-
static HDC hdc;
typedef HRESULT (WINAPI *pScriptGetProperties) (const SCRIPT_PROPERTIES ***,
@@ -1094,9 +1092,6 @@ init_uniscribe (void)
#ifdef BASIC_WIN32_DEBUGGING
(*script_get_properties) (&scripts, &nscripts);
#endif
- font_cache = pango_win32_font_map_get_font_cache
- (pango_win32_font_map_for_display ());
-
hdc = pango_win32_get_dc ();
}
#endif