Commit 6f6d6a78 authored by Mohammed Sadiq's avatar Mohammed Sadiq
Browse files

dialer-button: Mark the properties as construct

This would enforce the initial values of them to be set when the button
is created.
parent 9718ebe7
Pipeline #985 passed with stage
in 2 minutes and 5 seconds
......@@ -197,14 +197,14 @@ hdy_dialer_button_class_init (HdyDialerButtonClass *klass)
_("Digit"),
_("The dialer digit of the button"),
-1, INT_MAX, 0,
G_PARAM_READWRITE);
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
props[PROP_LETTERS] =
g_param_spec_string ("letters",
_("Letters"),
_("The dialer letters of the button"),
"",
G_PARAM_READWRITE);
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
g_object_class_install_properties (object_class, PROP_LAST_PROP, props);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment