summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-27 23:36:09 +0200
committerinfirit <[email protected]>2014-07-28 00:22:46 +0200
commite47c350e68cfcba4ebda141bdac0ace45aceac38 (patch)
tree35af56729326846256116aa9941ecda0245815e1 /src
parent4d827d913415d9bad36266d160dbf9c5bb5f1739 (diff)
downloadeom-e47c350e68cfcba4ebda141bdac0ace45aceac38.tar.bz2
eom-e47c350e68cfcba4ebda141bdac0ace45aceac38.tar.xz
Add gtk-doc annotations to the new properties in EomScrollView
Based on ec93e7f2c26a09a69dbc93241a50badccb0f6b21 From Felix Riemann <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/eom-scroll-view.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index 44886c6..64e62d3 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -2798,12 +2798,23 @@ eom_scroll_view_class_init (EomScrollViewClass *klass)
g_param_spec_boolean ("scrollwheel-zoom", NULL, NULL, TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME));
+ /**
+ * EomScrollView: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));
+ /**
+ * EomScrollView: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,