mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
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:
parent
73cfd8fa1d
commit
0add6313d3
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user