aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2010-01-29 13:44:08 +0100
committerAlberto Garcia <agarcia@igalia.com>2010-01-29 13:46:17 +0100
commit7924e54e9fb50ba4b19d7a76cab484aa909087ab (patch)
tree60eff889ff5cf3feef71920e9af07828bbedceaf
parent22480542753472852d13a0b224978d72f206e08f (diff)
Deprecate HildonPannableArea:size-request-policy
Fixes: MB#5284
-rw-r--r--hildon/hildon-pannable-area.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/hildon/hildon-pannable-area.c b/hildon/hildon-pannable-area.c
index 5da2933..502c23b 100644
--- a/hildon/hildon-pannable-area.c
+++ b/hildon/hildon-pannable-area.c
@@ -579,6 +579,19 @@ hildon_pannable_area_class_init (HildonPannableAreaClass * klass)
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
+ /**
+ * HildonPannableArea:size-request-policy:
+ *
+ * Controls the size request policy of the widget.
+ *
+ * <warning><para>
+ * HildonPannableArea:size-request-policy is deprecated and should
+ * not be used in newly-written code. See
+ * hildon_pannable_area_set_size_request_policy()
+ * </para></warning>
+ *
+ * Deprecated: since 2.2
+ */
g_object_class_install_property (object_class,
PROP_SIZE_REQUEST_POLICY,
g_param_spec_enum ("size-request-policy",
@@ -3636,6 +3649,8 @@ hildon_pannable_area_get_vadjustment (HildonPannableArea *area)
* #HildonSizeRequestPolicy.
*
* Since: 2.2
+ *
+ * Deprecated: See hildon_pannable_area_set_size_request_policy()
**/
HildonSizeRequestPolicy
hildon_pannable_area_get_size_request_policy (HildonPannableArea *area)
@@ -3668,8 +3683,8 @@ hildon_pannable_area_get_size_request_policy (HildonPannableArea *area)
*
* Deprecated: This method and the policy request is deprecated, DO
* NOT use it in future code, the only policy properly supported in
- * gtk+ nowadays is the minimum size. Use #gtk_window_set_default_size
- * or #gtk_window_set_geometry_hints with the proper size in your case
+ * gtk+ nowadays is the minimum size. Use gtk_window_set_default_size()
+ * or gtk_window_set_geometry_hints() with the proper size in your case
* to define the height of your dialogs.
**/
void