~ubuntu-branches/debian/experimental/pango1.0/experimental

« back to all changes in this revision

Viewing changes to pango/pangocairo-win32font.c

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-08-13 16:59:28 UTC
  • mfrom: (1.2.52 upstream)
  • Revision ID: james.westby@ubuntu.com-20080813165928-d5s5l83po052rrnr
Tags: 1.21.6-1
* Don't hardcode the pathes to defoma-app and update-pangox-aliases in
  maintainer scripts.
* Refresh patches 60_link-pangoxft-to-fontconfig and 70_automake and convert
  60_link-pangoxft-to-fontconfig to a -p1 level patch to support
  dpkg-source's quilt format.
* Let libpango1.0-dev recommend debhelper for dh_pangomodules.
* New upstream development releases; new API, API depreciations, and slights
  changes in semantics of the finalization of fontmaps.
  - Bump up bdeps to libcairo2-dev >= 1.7.4 and libglib2.0-dev >= 2.17.3.
  - Drop patch 60_link-pangoxft-to-fontconfig, fixed upstream.
  - Drop patch 70_automake, was only useful for
    60_link-pangoxft-to-fontconfig.
  - Bump shlibs version to 1.21.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * Boston, MA 02111-1307, USA.
20
20
 */
21
21
 
22
 
#include <config.h>
 
22
#include "config.h"
23
23
 
24
24
#include <math.h>
25
25
#include <stdlib.h>
288
288
  cwfont = g_object_new (PANGO_TYPE_CAIRO_WIN32_FONT, NULL);
289
289
  win32font = PANGO_WIN32_FONT (cwfont);
290
290
 
291
 
  win32font->fontmap = PANGO_FONT_MAP (cwfontmap);
292
 
  g_object_ref (cwfontmap);
 
291
  g_assert (win32font->fontmap == NULL);
 
292
  win32font->fontmap = (PangoFontMap *) cwfontmap;
 
293
  g_object_add_weak_pointer (G_OBJECT (win32font->fontmap), (gpointer *) (gpointer) &win32font->fontmap);
293
294
 
294
295
  win32font->win32face = face;
295
296