Correct docs for program-name property. (#496689, Thomas Wood)

2007-11-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaboutdialog.c: Correct docs for program-name property.
        (#496689, Thomas Wood)



svn path=/trunk/; revision=18999
This commit is contained in:
Matthias Clasen 2007-11-19 05:28:28 +00:00 committed by Matthias Clasen
parent 73cfd8fa1d
commit 0add6313d3
4 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c: Correct docs for program-name property.
(#496689, Thomas Wood)
2007-11-17 Paolo Borelli <pborelli@katamail.com>
* gtk/gtktextbuffer.c:

View File

@ -1,3 +1,8 @@
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkaboutdialog.sgml: Add some hints about
program-name vs name. (#496689, Thomas Wood)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkbuilder.sgml: Small correction to the

View File

@ -37,11 +37,16 @@ a #GtkAboutDialog, as shown in the following example:
</para>
<informalexample><programlisting>
gtk_show_about_dialog (NULL,
"name", "ExampleCode",
"program-name", "ExampleCode",
"logo", example_logo,
"title" _("About ExampleCode"),
NULL);
</programlisting></informalexample>
<para>
Note that prior to GTK+ 2.12, the #GtkAboutDialog:program-name property
was called "name". This was changed to avoid the conflict with the
#GtkWidget:name property.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>

View File

@ -184,12 +184,12 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
/**
* GtkAboutDialog:name:
* GtkAboutDialog:program-name:
*
* The name of the program.
* If this is not set, it defaults to g_get_application_name().
*
* Since: 2.6
* Since: 2.12
*/
g_object_class_install_property (object_class,
PROP_NAME,