mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-30 11:06:52 +02:00
docs: Fix typo in examples
This commit is contained in:
parent
a9ad793506
commit
abf28c71b0
@ -540,7 +540,7 @@ viewer_file_class_init (ViewerFileClass *klass)
|
|||||||
"Filename",
|
"Filename",
|
||||||
"Name of the file to load and display from.",
|
"Name of the file to load and display from.",
|
||||||
NULL /* default value */,
|
NULL /* default value */,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||||
|
|
||||||
obj_properties[PROP_ZOOM_LEVEL] =
|
obj_properties[PROP_ZOOM_LEVEL] =
|
||||||
g_param_spec_uint ("zoom-level",
|
g_param_spec_uint ("zoom-level",
|
||||||
@ -549,7 +549,7 @@ viewer_file_class_init (ViewerFileClass *klass)
|
|||||||
0 /* minimum value */,
|
0 /* minimum value */,
|
||||||
10 /* maximum value */,
|
10 /* maximum value */,
|
||||||
2 /* default value */,
|
2 /* default value */,
|
||||||
G_PARAM_READWRITE));
|
G_PARAM_READWRITE);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class,
|
g_object_class_install_properties (object_class,
|
||||||
N_PROPERTIES,
|
N_PROPERTIES,
|
||||||
|
@ -357,7 +357,7 @@ viewer_file_class_init (ViewerFileClass *klass)
|
|||||||
"Filename",
|
"Filename",
|
||||||
"Name of the file to load and display from.",
|
"Name of the file to load and display from.",
|
||||||
NULL /* default value */,
|
NULL /* default value */,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||||
|
|
||||||
obj_properties[PROP_ZOOM_LEVEL] =
|
obj_properties[PROP_ZOOM_LEVEL] =
|
||||||
g_param_spec_uint ("zoom-level",
|
g_param_spec_uint ("zoom-level",
|
||||||
@ -366,7 +366,7 @@ viewer_file_class_init (ViewerFileClass *klass)
|
|||||||
0 /* minimum value */,
|
0 /* minimum value */,
|
||||||
10 /* maximum value */,
|
10 /* maximum value */,
|
||||||
2 /* default value */,
|
2 /* default value */,
|
||||||
G_PARAM_READWRITE));
|
G_PARAM_READWRITE);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class,
|
g_object_class_install_properties (object_class,
|
||||||
N_PROPERTIES,
|
N_PROPERTIES,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user