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> 2007-11-17 Paolo Borelli <pborelli@katamail.com>
* gtk/gtktextbuffer.c: * 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> 2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkbuilder.sgml: Small correction to the * gtk/tmpl/gtkbuilder.sgml: Small correction to the

View File

@ -37,11 +37,16 @@ a #GtkAboutDialog, as shown in the following example:
</para> </para>
<informalexample><programlisting> <informalexample><programlisting>
gtk_show_about_dialog (NULL, gtk_show_about_dialog (NULL,
"name", "ExampleCode", "program-name", "ExampleCode",
"logo", example_logo, "logo", example_logo,
"title" _("About ExampleCode"), "title" _("About ExampleCode"),
NULL); NULL);
</programlisting></informalexample> </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 ##### --> <!-- ##### SECTION See_Also ##### -->
<para> <para>

View File

@ -184,12 +184,12 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
/** /**
* GtkAboutDialog:name: * GtkAboutDialog:program-name:
* *
* The name of the program. * The name of the program.
* If this is not set, it defaults to g_get_application_name(). * 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, g_object_class_install_property (object_class,
PROP_NAME, PROP_NAME,