summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooserprivate.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2011-09-05 22:45:44 +0200
committerChristian Persch <chpe@gnome.org>2011-09-13 12:55:22 +0200
commit0b7db6888a5377e0635449fa79d88df1df22a7b4 (patch)
treebaf99d11eaeeba767cc6374a0409ac6d6167d7b7 /gtk/gtkfontchooserprivate.h
parentcf1486861929e9ed46e5161ecab6f2eeeaecf457 (diff)
downloadgtk+-0b7db6888a5377e0635449fa79d88df1df22a7b4.tar.gz
Setters should not return a boolean
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.
Diffstat (limited to 'gtk/gtkfontchooserprivate.h')
-rw-r--r--gtk/gtkfontchooserprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfontchooserprivate.h b/gtk/gtkfontchooserprivate.h
index 8a8ac3514c..ef6255357a 100644
--- a/gtk/gtkfontchooserprivate.h
+++ b/gtk/gtkfontchooserprivate.h
@@ -25,6 +25,8 @@
#include "gtkfontchooser.h"
+#define GTK_FONT_CHOOSER_DEFAULT_FONT_NAME "Sans 10"
+
G_BEGIN_DECLS
void _gtk_font_chooser_font_activated (GtkFontChooser *chooser,