[eog] Add gtk-doc annotations to the new properties in EogScrollView
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Add gtk-doc annotations to the new properties in EogScrollView
- Date: Sun, 18 Jul 2010 17:54:16 +0000 (UTC)
commit ec93e7f2c26a09a69dbc93241a50badccb0f6b21
Author: Felix Riemann <friemann gnome org>
Date: Sun Jul 18 19:52:40 2010 +0200
Add gtk-doc annotations to the new properties in EogScrollView
src/eog-scroll-view.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index 37a653a..6aec408 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -2497,12 +2497,23 @@ eog_scroll_view_class_init (EogScrollViewClass *klass)
g_param_spec_boolean ("scrollwheel-zoom", NULL, NULL, TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME));
+ /**
+ * EogScrollView:transparency-color:
+ *
+ * This is the color used to fill the transparent parts of an image
+ * if :transparency-style is set to use a custom color.
+ */
g_object_class_install_property (
gobject_class, PROP_TRANSP_COLOR,
g_param_spec_boxed ("transparency-color", NULL, NULL,
GDK_TYPE_COLOR,
G_PARAM_WRITABLE | G_PARAM_STATIC_NAME));
+ /**
+ * EogScrollView:transparency-style:
+ *
+ * Determines how to fill the shown image's transparent areas.
+ */
g_object_class_install_property (
gobject_class, PROP_TRANSPARENCY_STYLE,
g_param_spec_enum ("transparency-style", NULL, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]