mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
0b7db6888a
The setter for the "font" property returned a boolean that indicated whether the given font has been found. Instead, fall back to the default font name when the given font doesn't exist.
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/* gtkfontprivatechooser.h - Interface definitions for font selectors UI
|
|
*
|
|
* Copyright (C) 2006 Emmanuele Bassi
|
|
*
|
|
* All rights reserved
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GTK_FONT_CHOOSER_PRIVATE_H__
|
|
#define __GTK_FONT_CHOOSER_PRIVATE_H__
|
|
|
|
#include "gtkfontchooser.h"
|
|
|
|
#define GTK_FONT_CHOOSER_DEFAULT_FONT_NAME "Sans 10"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void _gtk_font_chooser_font_activated (GtkFontChooser *chooser,
|
|
const gchar *fontname);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* ! __GTK_FONT_CHOOSER_PRIVATE_H__ */
|