[gtk+/gtk-2.90: 1/59] Remove deprecated functions from GtkAboutDialog



commit eb65fb69261b3dd497d6f2908a6484d4b960a0ce
Author: Christian Dywan <christian twotoasts de>
Date:   Wed Oct 7 17:36:18 2009 +0200

    Remove deprecated functions from GtkAboutDialog

 gtk/gtkaboutdialog.c |   38 --------------------------------------
 gtk/gtkaboutdialog.h |    6 ------
 2 files changed, 0 insertions(+), 44 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 91d30fe..4ffff8e 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -775,25 +775,6 @@ gtk_about_dialog_show (GtkWidget *widget)
 }
 
 /**
- * gtk_about_dialog_get_name:
- * @about: a #GtkAboutDialog
- * 
- * Returns the program name displayed in the about dialog.
- * 
- * Return value: The program name. The string is owned by the about
- *  dialog and must not be modified.
- *
- * Since: 2.6
- *
- * Deprecated: 2.12: Use gtk_about_dialog_get_program_name() instead.
- **/
-G_CONST_RETURN gchar *
-gtk_about_dialog_get_name (GtkAboutDialog *about)
-{
-  return gtk_about_dialog_get_program_name (about);
-}
-
-/**
  * gtk_about_dialog_get_program_name:
  * @about: a #GtkAboutDialog
  * 
@@ -841,25 +822,6 @@ update_name_version (GtkAboutDialog *about)
 }
 
 /**
- * gtk_about_dialog_set_name:
- * @about: a #GtkAboutDialog
- * @name: the program name
- *
- * Sets the name to display in the about dialog. 
- * If this is not set, it defaults to g_get_application_name().
- * 
- * Since: 2.6
- *
- * Deprecated: 2.12: Use gtk_about_dialog_set_program_name() instead.
- **/
-void
-gtk_about_dialog_set_name (GtkAboutDialog *about, 
-			   const gchar    *name)
-{
-    gtk_about_dialog_set_program_name (about, name);
-}
-
-/**
  * gtk_about_dialog_set_program_name:
  * @about: a #GtkAboutDialog
  * @name: the program name
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h
index 02f2fbe..3365e7a 100644
--- a/gtk/gtkaboutdialog.h
+++ b/gtk/gtkaboutdialog.h
@@ -67,12 +67,6 @@ GtkWidget             *gtk_about_dialog_new                    (void);
 void                   gtk_show_about_dialog                   (GtkWindow       *parent,
 								const gchar     *first_property_name,
 								...) G_GNUC_NULL_TERMINATED;
-
-#ifndef GTK_DISABLE_DEPRECATED
-G_CONST_RETURN gchar  *gtk_about_dialog_get_name               (GtkAboutDialog  *about);
-void                   gtk_about_dialog_set_name               (GtkAboutDialog  *about,
-								const gchar     *name);
-#endif /* GTK_DISABLE_DEPRECATED */
 G_CONST_RETURN gchar  *gtk_about_dialog_get_program_name       (GtkAboutDialog  *about);
 void                   gtk_about_dialog_set_program_name       (GtkAboutDialog  *about,
 								const gchar     *name);



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