diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-14 03:37:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-14 03:37:43 +0000 |
commit | 81aa21a8340ca22369eefc2495c068c6ecbe0350 (patch) | |
tree | 3e8008084cf240cdeecc16770abf5926b86b0006 | |
parent | a50b2ee48fb950f9459dccbd2e49fd5d136be7c5 (diff) | |
download | gtk+-81aa21a8340ca22369eefc2495c068c6ecbe0350.tar.gz |
Don't add pointless getters
svn path=/trunk/; revision=21114
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | docs/reference/ChangeLog | 4 | ||||
-rw-r--r-- | docs/reference/gtk/gtk-sections.txt | 2 | ||||
-rw-r--r-- | gtk/gtk.symbols | 2 | ||||
-rw-r--r-- | gtk/gtkfontsel.c | 38 | ||||
-rw-r--r-- | gtk/gtkfontsel.h | 2 |
6 files changed, 14 insertions, 44 deletions
@@ -1,5 +1,15 @@ 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 * modules/printbackends/cups/gtkprintbackendcups.c: Add translator diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index ca8ba1a380..0f7eb481e5 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +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 diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index 3147f078a2..c1317bc885 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -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 diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index d64be51c45..3da5b590de 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -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 diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c index 4bfd8d6285..33e6e29264 100644 --- a/gtk/gtkfontsel.c +++ b/gtk/gtkfontsel.c @@ -1123,25 +1123,6 @@ gtk_font_selection_get_font_internal (GtkFontSelection *fontsel) *****************************************************************************/ /** - * 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 * @@ -1161,25 +1142,6 @@ gtk_font_selection_get_family_list (GtkFontSelection *fontsel) } /** - * 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 * diff --git a/gtk/gtkfontsel.h b/gtk/gtkfontsel.h index 125537b2f7..07cba45eb6 100644 --- a/gtk/gtkfontsel.h +++ b/gtk/gtkfontsel.h @@ -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); |