Commit 6ce0e33d authored by Ting-Wei Lan's avatar Ting-Wei Lan
Browse files

keypad: Fix compilation error for clang

Function hdy_keypad_button_get_digit is declared to return 'char' in
src/hdy-keypad-button-private.h but defined to return 'const char' in
src/hdy-keypad-button.c. This is not allowed by clang. Since it is
unusual to mark a return value itself as const, just drop const here.
parent 986d1863
......@@ -299,7 +299,7 @@ hdy_keypad_button_new (const gchar *symbols)
*
* Returns: the button's digit
*/
const char
char
hdy_keypad_button_get_digit (HdyKeypadButton *self)
{
HdyKeypadButtonPrivate *priv;
......
Supports Markdown
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