@@ -141,10 +141,10 @@ clutter_text_password_char_cb (GObject *object,
141141 gpointer user_data )
142142{
143143 StPasswordEntry * entry = ST_PASSWORD_ENTRY (user_data );
144- ClutterActor * clutter_text ;
144+ ClutterText * clutter_text ;
145145
146146 clutter_text = st_entry_get_clutter_text (ST_ENTRY (entry ));
147- if (clutter_text_get_password_char (CLUTTER_TEXT ( clutter_text ) ) == 0 )
147+ if (clutter_text_get_password_char (clutter_text ) == 0 )
148148 st_password_entry_set_password_visible (entry , TRUE);
149149 else
150150 st_password_entry_set_password_visible (entry , FALSE);
@@ -154,7 +154,7 @@ static void
154154st_password_entry_init (StPasswordEntry * entry )
155155{
156156 StPasswordEntryPrivate * priv ;
157- ClutterActor * clutter_text ;
157+ ClutterText * clutter_text ;
158158
159159 priv = entry -> priv = st_password_entry_get_instance_private (entry );
160160
@@ -167,7 +167,7 @@ st_password_entry_init (StPasswordEntry *entry)
167167 priv -> show_peek_icon = TRUE;
168168
169169 clutter_text = st_entry_get_clutter_text (ST_ENTRY (entry ));
170- clutter_text_set_password_char (CLUTTER_TEXT ( clutter_text ) , BULLET );
170+ clutter_text_set_password_char (clutter_text , BULLET );
171171
172172 g_signal_connect (clutter_text , "notify::password-char" ,
173173 G_CALLBACK (clutter_text_password_char_cb ), entry );
@@ -243,7 +243,7 @@ st_password_entry_set_password_visible (StPasswordEntry *entry,
243243 gboolean value )
244244{
245245 StPasswordEntryPrivate * priv ;
246- ClutterActor * clutter_text ;
246+ ClutterText * clutter_text ;
247247
248248 g_return_if_fail (ST_IS_PASSWORD_ENTRY (entry ));
249249
@@ -256,12 +256,12 @@ st_password_entry_set_password_visible (StPasswordEntry *entry,
256256 clutter_text = st_entry_get_clutter_text (ST_ENTRY (entry ));
257257 if (priv -> password_visible )
258258 {
259- clutter_text_set_password_char (CLUTTER_TEXT ( clutter_text ) , 0 );
259+ clutter_text_set_password_char (clutter_text , 0 );
260260 st_icon_set_icon_name (ST_ICON (priv -> peek_password_icon ), "xsi-view-reveal-symbolic" );
261261 }
262262 else
263263 {
264- clutter_text_set_password_char (CLUTTER_TEXT ( clutter_text ) , BULLET );
264+ clutter_text_set_password_char (clutter_text , BULLET );
265265 st_icon_set_icon_name (ST_ICON (priv -> peek_password_icon ), "xsi-view-conceal-symbolic" );
266266 }
267267
0 commit comments