Commit 81aa21a8 authored by Matthias Clasen's avatar Matthias Clasen

Don't add pointless getters

svn path=/trunk/; revision=21114
parent a50b2ee4
2008-08-13 Matthias Clasen <mclasen@redhat.com>
Bug 547673 – Accessors for GtkFileSelection.font_entry and
font_style_entry
* gtk/gtk.symbols:
* gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not
actually part of the font selection dialog in standard builds.
Pointed out by Torsten Schoenfeld
2008-08-13 Matthias Clasen <mclasen@redhat.com>
Bug 547516 – Add comments for translators in gtkprintbackendcups.c
......
2008-08-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Remove useless getters
2008-08-13 Torsten Schoenfeld <kaffeetisch@gmx.de>
* gtk/gtk-sections.txt: Move
......
......@@ -1600,11 +1600,9 @@ gtk_font_selection_set_font_name
gtk_font_selection_get_preview_text
gtk_font_selection_set_preview_text
gtk_font_selection_get_face
gtk_font_selection_get_face_entry
gtk_font_selection_get_face_list
gtk_font_selection_get_family
gtk_font_selection_get_size
gtk_font_selection_get_family_entry
gtk_font_selection_get_family_list
gtk_font_selection_get_preview_entry
gtk_font_selection_get_size_entry
......
......@@ -1612,10 +1612,8 @@ gtk_font_selection_get_font
gtk_font_selection_dialog_get_font
#endif
gtk_font_selection_get_face
gtk_font_selection_get_face_entry
gtk_font_selection_get_face_list
gtk_font_selection_get_family
gtk_font_selection_get_family_entry
gtk_font_selection_get_family_list
gtk_font_selection_get_font_name
gtk_font_selection_get_preview_entry
......
......@@ -1122,25 +1122,6 @@ gtk_font_selection_get_font_internal (GtkFontSelection *fontsel)
* These functions are the main public interface for getting/setting the font.
*****************************************************************************/
/**
* gtk_font_selection_get_family_entry:
* @fontsel: a #GtkFontSelection
*
* This returns the #GtkEntry that allows the user to manually enter
* the font family they want to use.
*
* Return value: A #GtkWidget.
*
* Since: 2.14
**/
GtkWidget *
gtk_font_selection_get_family_entry (GtkFontSelection *fontsel)
{
g_return_val_if_fail (GTK_IS_FONT_SELECTION (fontsel), NULL);
return fontsel->font_entry;
}
/**
* gtk_font_selection_get_family_list:
* @fontsel: a #GtkFontSelection
......@@ -1160,25 +1141,6 @@ gtk_font_selection_get_family_list (GtkFontSelection *fontsel)
return fontsel->family_list;
}
/**
* gtk_font_selection_get_face_entry:
* @fontsel: a #GtkFontSelection
*
* This returns the #GtkEntry responsible for allowing manual
* configuration of the font style.
*
* Return value: A #GtkWidget.
*
* Since: 2.14
**/
GtkWidget *
gtk_font_selection_get_face_entry (GtkFontSelection *fontsel)
{
g_return_val_if_fail (GTK_IS_FONT_SELECTION (fontsel), NULL);
return fontsel->font_style_entry;
}
/**
* gtk_font_selection_get_face_list:
* @fontsel: a #GtkFontSelection
......
......@@ -144,9 +144,7 @@ struct _GtkFontSelectionDialogClass
GType gtk_font_selection_get_type (void) G_GNUC_CONST;
GtkWidget * gtk_font_selection_new (void);
GtkWidget * gtk_font_selection_get_family_entry (GtkFontSelection *fontsel);
GtkWidget * gtk_font_selection_get_family_list (GtkFontSelection *fontsel);
GtkWidget * gtk_font_selection_get_face_entry (GtkFontSelection *fontsel);
GtkWidget * gtk_font_selection_get_face_list (GtkFontSelection *fontsel);
GtkWidget * gtk_font_selection_get_size_entry (GtkFontSelection *fontsel);
GtkWidget * gtk_font_selection_get_size_list (GtkFontSelection *fontsel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment