]> Pileus Git - ~andy/gtk/commitdiff
Remove deprecated functions from GtkAboutDialog
authorChristian Dywan <christian@twotoasts.de>
Wed, 7 Oct 2009 15:36:18 +0000 (17:36 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:39:49 +0000 (01:39 +0200)
gtk/gtkaboutdialog.c
gtk/gtkaboutdialog.h

index affb9466ee38c4fd72e5a817c07acf1995009758..47a1b8f746437fc79d6ca8a966a171170e23b0bc 100644 (file)
@@ -864,25 +864,6 @@ gtk_about_dialog_show (GtkWidget *widget)
   GTK_WIDGET_CLASS (gtk_about_dialog_parent_class)->show (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
@@ -930,25 +911,6 @@ update_name_version (GtkAboutDialog *about)
   g_free (name_string);
 }
 
-/**
- * gtk_about_dialog_set_name:
- * @about: a #GtkAboutDialog
- * @name: (allow-none): 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
index efb50b1cf05dd844c16a6c9664c9da102e2abfff..0e597f4920f16ac190a02a1daae5e12d8b347448 100644 (file)
@@ -73,12 +73,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);