update the desktop file database on install, since we install a new mime
2004-12-10 James Henstridge <james@jamesh.id.au> * Makefile.am (install-desktop-database): update the desktop file database on install, since we install a new mime action. * font-view.c (get_font): don't free the pattern when creating the font object, since XftFontOpenPattern takes ownership of the pattern. * gnome-font-viewer.desktop.in.in (Exec): use %u instead of %U, since we only support openning one file.
This commit is contained in:
parent
a76902382e
commit
2a7bec1ecb
4 changed files with 20 additions and 4 deletions
|
@ -74,7 +74,6 @@ get_font(Display *xdisplay, FT_Face face, gint size, FcCharSet *charset)
|
|||
XftDefaultSubstitute (xdisplay, screen, pattern);
|
||||
|
||||
font = XftFontOpenPattern(xdisplay, pattern);
|
||||
FcPatternDestroy(pattern);
|
||||
|
||||
return font;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue