From 01780084d51750cf38b3aa7ec8d2ffd2ddf718df Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 20 Nov 2003 23:10:05 +0000 Subject: [PATCH] Remove leftover documentation of the filter functionality that got removed Fri Nov 21 00:09:36 2003 Matthias Clasen * gtk/tmpl/gtkfontsel.sgml: * gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of the filter functionality that got removed long ago. --- docs/reference/ChangeLog | 6 ++++ docs/reference/gtk/tmpl/gtkfontsel.sgml | 9 ------ docs/reference/gtk/tmpl/gtkfontseldlg.sgml | 32 ---------------------- 3 files changed, 6 insertions(+), 41 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index ba1fba06c7..5b76bce52f 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,9 @@ +Fri Nov 21 00:09:36 2003 Matthias Clasen + + * gtk/tmpl/gtkfontsel.sgml: + * gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of + the filter functionality that got removed long ago. + 2003-11-18 Federico Mena Quintero * gtk/tmpl/gtkfilechooser.sgml: Added sections section about diff --git a/docs/reference/gtk/tmpl/gtkfontsel.sgml b/docs/reference/gtk/tmpl/gtkfontsel.sgml index ab9854e620..502b104e9e 100644 --- a/docs/reference/gtk/tmpl/gtkfontsel.sgml +++ b/docs/reference/gtk/tmpl/gtkfontsel.sgml @@ -23,15 +23,6 @@ or gtk_font_selection_get_font_name(). To change the text which is shown in the preview area, use gtk_font_selection_set_preview_text(). - -Filters can be used to limit the fonts shown. There are 2 filters in the -#GtkFontSelection - a base filter and a user filter. The base filter -can not be changed by the user, so this can be used when the user must choose -from the restricted set of fonts (e.g. for a terminal-type application you may -want to force the user to select a fixed-width font). The user filter can be -changed or reset by the user, by using the 'Reset Filter' button or changing -the options on the 'Filter' page of the widget. - diff --git a/docs/reference/gtk/tmpl/gtkfontseldlg.sgml b/docs/reference/gtk/tmpl/gtkfontseldlg.sgml index ca46364887..5e15d6e6be 100644 --- a/docs/reference/gtk/tmpl/gtkfontseldlg.sgml +++ b/docs/reference/gtk/tmpl/gtkfontseldlg.sgml @@ -20,38 +20,6 @@ or gtk_font_selection_dialog_get_font_name(). To change the text which is shown in the preview area, use gtk_font_selection_dialog_set_preview_text(). - -Filters can be used to limit the fonts shown. There are 2 filters in the -#GtkFontSelectionDialog - a base filter and a user filter. The base filter -can not be changed by the user, so this can be used when the user must choose -from the restricted set of fonts (e.g. for a terminal-type application you may -want to force the user to select a fixed-width font). The user filter can be -changed or reset by the user, by using the 'Reset Filter' button or changing -the options on the 'Filter' page of the dialog. - - - -Setting a filter to show only fixed-width fonts. - - gchar *spacings[] = { "c", "m", NULL }; - gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel), - GTK_FONT_FILTER_BASE, GTK_FONT_ALL, - NULL, NULL, NULL, NULL, spacings, NULL); - - - - -To allow only true scalable fonts to be selected use: - - - -Setting a filter to show only true scalable fonts. - - gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel), - GTK_FONT_FILTER_BASE, GTK_FONT_SCALABLE, - NULL, NULL, NULL, NULL, NULL, NULL); - -