gtk+ r21742 - in trunk: . gtk



Author: cdywan
Date: Fri Oct 31 22:16:41 2008
New Revision: 21742
URL: http://svn.gnome.org/viewvc/gtk+?rev=21742&view=rev

Log:
Bug 558667 â gtk_font_selection_dialog_get_apply_button - deprecate?

* gtk/gtk.symbols:
* gtk/gtkfontsel.c:
* gtk/gtkfontsel.h:
Deprecate gtk_font_selection_dialog_get_apply_button

Modified:
   trunk/ChangeLog
   trunk/gtk/gtk.symbols
   trunk/gtk/gtkfontsel.c
   trunk/gtk/gtkfontsel.h

Modified: trunk/gtk/gtk.symbols
==============================================================================
--- trunk/gtk/gtk.symbols	(original)
+++ trunk/gtk/gtk.symbols	Fri Oct 31 22:16:41 2008
@@ -1601,7 +1601,6 @@
 
 #if IN_HEADER(__GTK_FONTSEL_H__)
 #if IN_FILE(__GTK_FONTSEL_C__)
-gtk_font_selection_dialog_get_apply_button
 gtk_font_selection_dialog_get_cancel_button
 gtk_font_selection_dialog_get_font_name
 gtk_font_selection_dialog_get_ok_button
@@ -1611,6 +1610,7 @@
 gtk_font_selection_dialog_set_font_name
 gtk_font_selection_dialog_set_preview_text
 #ifndef GTK_DISABLE_DEPRECATED
+gtk_font_selection_dialog_get_apply_button
 gtk_font_selection_get_font
 gtk_font_selection_dialog_get_font
 #endif

Modified: trunk/gtk/gtkfontsel.c
==============================================================================
--- trunk/gtk/gtkfontsel.c	(original)
+++ trunk/gtk/gtkfontsel.c	Fri Oct 31 22:16:41 2008
@@ -1593,11 +1593,13 @@
  * gtk_font_selection_dialog_get_apply_button:
  * @fsd: a #GtkFontSelectionDialog
  *
- * Gets the 'Apply' button.
+ * Obtains a button. The button doesn't have any function.
  *
- * Return value: the #GtkWidget used in the dialog for the 'Apply' button.
+ * Return value: a #GtkWidget
  *
  * Since: 2.14
+ *
+ * Deprecated: 2.16: Don't use this function.
  */
 GtkWidget *
 gtk_font_selection_dialog_get_apply_button (GtkFontSelectionDialog *fsd)

Modified: trunk/gtk/gtkfontsel.h
==============================================================================
--- trunk/gtk/gtkfontsel.h	(original)
+++ trunk/gtk/gtkfontsel.h	Fri Oct 31 22:16:41 2008
@@ -176,7 +176,9 @@
 GtkWidget *gtk_font_selection_dialog_new	       (const gchar            *title);
 
 GtkWidget *gtk_font_selection_dialog_get_ok_button     (GtkFontSelectionDialog *fsd);
+#ifndef GTK_DISABLE_DEPRECATED
 GtkWidget *gtk_font_selection_dialog_get_apply_button  (GtkFontSelectionDialog *fsd);
+#endif
 GtkWidget *gtk_font_selection_dialog_get_cancel_button (GtkFontSelectionDialog *fsd);
 
 /* This returns the X Logical Font Description fontname, or NULL if no font



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