From ecbfe81b065bd074e302df32e2e22a5ebd48b7af Mon Sep 17 00:00:00 2001 From: Alex Larsson Date: Mon, 19 Nov 2001 02:23:56 +0000 Subject: [PATCH] Update to new Pango API. 2001-11-18 Alex Larsson * gdk/x11/gdkfont-x11.c (gdk_font_from_description): Update to new Pango API. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gdk/x11/gdkfont-x11.c | 2 +- 8 files changed, 36 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe6716b28c..5eeecce69a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-18 Alex Larsson + + * gdk/x11/gdkfont-x11.c (gdk_font_from_description): + Update to new Pango API. + Sun Nov 18 19:47:29 2001 Owen Taylor * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index fe6716b28c..5eeecce69a 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2001-11-18 Alex Larsson + + * gdk/x11/gdkfont-x11.c (gdk_font_from_description): + Update to new Pango API. + Sun Nov 18 19:47:29 2001 Owen Taylor * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fe6716b28c..5eeecce69a 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2001-11-18 Alex Larsson + + * gdk/x11/gdkfont-x11.c (gdk_font_from_description): + Update to new Pango API. + Sun Nov 18 19:47:29 2001 Owen Taylor * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index fe6716b28c..5eeecce69a 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2001-11-18 Alex Larsson + + * gdk/x11/gdkfont-x11.c (gdk_font_from_description): + Update to new Pango API. + Sun Nov 18 19:47:29 2001 Owen Taylor * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index fe6716b28c..5eeecce69a 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2001-11-18 Alex Larsson + + * gdk/x11/gdkfont-x11.c (gdk_font_from_description): + Update to new Pango API. + Sun Nov 18 19:47:29 2001 Owen Taylor * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index fe6716b28c..5eeecce69a 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2001-11-18 Alex Larsson + + * gdk/x11/gdkfont-x11.c (gdk_font_from_description): + Update to new Pango API. + Sun Nov 18 19:47:29 2001 Owen Taylor * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index fe6716b28c..5eeecce69a 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2001-11-18 Alex Larsson + + * gdk/x11/gdkfont-x11.c (gdk_font_from_description): + Update to new Pango API. + Sun Nov 18 19:47:29 2001 Owen Taylor * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the diff --git a/gdk/x11/gdkfont-x11.c b/gdk/x11/gdkfont-x11.c index 1115c011ba..4cf8a4d747 100644 --- a/gdk/x11/gdkfont-x11.c +++ b/gdk/x11/gdkfont-x11.c @@ -209,7 +209,7 @@ gdk_font_from_description (PangoFontDescription *font_desc) g_return_val_if_fail (font_desc != NULL, NULL); font_map = pango_x_font_map_for_display (GDK_DISPLAY ()); - font = pango_font_map_load_font (font_map, font_desc); + font = pango_font_map_load_font (font_map, NULL, font_desc); if (font) {