gtk+ r21114 - in trunk: . docs/reference docs/reference/gtk gtk



Author: matthiasc
Date: Thu Aug 14 03:37:43 2008
New Revision: 21114
URL: http://svn.gnome.org/viewvc/gtk+?rev=21114&view=rev

Log:
Don't add pointless getters


Modified:
   trunk/ChangeLog
   trunk/docs/reference/ChangeLog
   trunk/docs/reference/gtk/gtk-sections.txt
   trunk/gtk/gtk.symbols
   trunk/gtk/gtkfontsel.c
   trunk/gtk/gtkfontsel.h

Modified: trunk/docs/reference/gtk/gtk-sections.txt
==============================================================================
--- trunk/docs/reference/gtk/gtk-sections.txt	(original)
+++ trunk/docs/reference/gtk/gtk-sections.txt	Thu Aug 14 03:37:43 2008
@@ -1600,11 +1600,9 @@
 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

Modified: trunk/gtk/gtk.symbols
==============================================================================
--- trunk/gtk/gtk.symbols	(original)
+++ trunk/gtk/gtk.symbols	Thu Aug 14 03:37:43 2008
@@ -1612,10 +1612,8 @@
 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

Modified: trunk/gtk/gtkfontsel.c
==============================================================================
--- trunk/gtk/gtkfontsel.c	(original)
+++ trunk/gtk/gtkfontsel.c	Thu Aug 14 03:37:43 2008
@@ -1123,25 +1123,6 @@
  *****************************************************************************/
 
 /**
- * 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_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
  *

Modified: trunk/gtk/gtkfontsel.h
==============================================================================
--- trunk/gtk/gtkfontsel.h	(original)
+++ trunk/gtk/gtkfontsel.h	Thu Aug 14 03:37:43 2008
@@ -144,9 +144,7 @@
 
 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]