summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkfont-win32.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-06-20 23:59:27 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-06-20 23:59:27 +0000
commit28c2b0a31f3f688cec4960063de37df004ad0112 (patch)
tree36479c79602df24f0bf3f6dbc9dbb7c4b6587eb3 /gdk/win32/gdkfont-win32.c
parent5830bf89b5bb3eb48fa84ed690a726be3a82e129 (diff)
downloadgdk-pixbuf-28c2b0a31f3f688cec4960063de37df004ad0112.tar.gz
Renames:
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c tests/*.c: Renames: gdk_get_default_display => gdk_display_get_default gdk_get_default_screen => gdk_screen_get_default gdk_open_display => gdk_display_open
Diffstat (limited to 'gdk/win32/gdkfont-win32.c')
-rw-r--r--gdk/win32/gdkfont-win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/win32/gdkfont-win32.c b/gdk/win32/gdkfont-win32.c
index 29639eff6..a831635eb 100644
--- a/gdk/win32/gdkfont-win32.c
+++ b/gdk/win32/gdkfont-win32.c
@@ -1526,7 +1526,7 @@ gdk_font_load_for_display (GdkDisplay *display,
TEXTMETRIC textmetric;
g_return_val_if_fail (font_name != NULL, NULL);
- g_return_val_if_fail (display == gdk_get_default_display (), NULL);
+ g_return_val_if_fail (display == gdk_display_get_default (), NULL);
font = gdk_font_hash_lookup (GDK_FONT_FONTSET, font_name);
if (font)
@@ -1582,7 +1582,7 @@ gdk_font_from_description_for_display (GdkDisplay *display,
GdkFont *result = NULL;
g_return_val_if_fail (font_desc != NULL, NULL);
- g_return_val_if_fail (display == gdk_get_default_display (), NULL);
+ g_return_val_if_fail (display == gdk_display_get_default (), NULL);
font_map = pango_win32_font_map_for_display ();
font = pango_font_map_load_font (font_map, gdk_pango_context_get (), font_desc);