summaryrefslogtreecommitdiff
path: root/gdk/gdkfont.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-06-24 22:20:02 +0200
committerJavier Jardón <jjardon@gnome.org>2010-06-28 23:38:03 +0200
commitc1affa4f3cbe51574a1895df9c4d9b77f50f81aa (patch)
treee9c00a9dacb2080a3e7855bbf4d4297913d98baa /gdk/gdkfont.c
parentc3987f9ee2cf0ee2277c31e711755257f62c46db (diff)
downloadgtk+-c1affa4f3cbe51574a1895df9c4d9b77f50f81aa.tar.gz
Remove deprecated code from X interaction
Diffstat (limited to 'gdk/gdkfont.c')
-rw-r--r--gdk/gdkfont.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/gdk/gdkfont.c b/gdk/gdkfont.c
index 56830e0a1d..4f2f39c6ea 100644
--- a/gdk/gdkfont.c
+++ b/gdk/gdkfont.c
@@ -85,41 +85,6 @@ gdk_font_unref (GdkFont *font)
_gdk_font_destroy (font);
}
-/**
- * gdk_font_from_description:
- * @font_desc: a #PangoFontDescription.
- *
- * Load a #GdkFont based on a Pango font description. This font will
- * only be an approximation of the Pango font, and
- * internationalization will not be handled correctly. This function
- * should only be used for legacy code that cannot be easily converted
- * to use Pango. Using Pango directly will produce better results.
- *
- * Return value: the newly loaded font, or %NULL if the font
- * cannot be loaded.
- **/
-GdkFont*
-gdk_font_from_description (PangoFontDescription *font_desc)
-{
- return gdk_font_from_description_for_display (gdk_display_get_default (),font_desc);
-}
-
-/**
- * gdk_font_load:
- * @font_name: a XLFD describing the font to load.
- *
- * Loads a font.
- *
- * The font may be newly loaded or looked up the font in a cache.
- * You should make no assumptions about the initial reference count.
- *
- * Return value: a #GdkFont, or %NULL if the font could not be loaded.
- **/
-GdkFont*
-gdk_font_load (const gchar *font_name)
-{
- return gdk_font_load_for_display (gdk_display_get_default(), font_name);
-}
#define __GDK_FONT_C__
#include "gdkaliasdef.c"