Commit 0add6313 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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
parent 73cfd8fa
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:
......
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
......
......@@ -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>
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment