diff options
author | rbuj <[email protected]> | 2021-10-27 16:50:59 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2022-02-09 04:42:12 +0000 |
commit | 47b5bd2b1759c27b48123957a8aa9c36c2414a39 (patch) | |
tree | 740492710c5183f2f878be5ade77641b12569468 /capplets/about-me/mate-about-me-password.c | |
parent | 2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64 (diff) | |
download | mate-control-center-47b5bd2b1759c27b48123957a8aa9c36c2414a39.tar.bz2 mate-control-center-47b5bd2b1759c27b48123957a8aa9c36c2414a39.tar.xz |
Unnecessary GTK_WIDGET cast
Diffstat (limited to 'capplets/about-me/mate-about-me-password.c')
-rw-r--r-- | capplets/about-me/mate-about-me-password.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/capplets/about-me/mate-about-me-password.c b/capplets/about-me/mate-about-me-password.c index 5800c3ca..2b4f0441 100644 --- a/capplets/about-me/mate-about-me-password.c +++ b/capplets/about-me/mate-about-me-password.c @@ -1094,11 +1094,11 @@ passdlg_init (PasswordDialog *pdialog, GtkWindow *parent) */ /* Initialize pdialog widgets */ - pdialog->current_password = GTK_ENTRY (WID ("current-password")); - pdialog->new_password = GTK_ENTRY (WID ("new-password")); - pdialog->retyped_password = GTK_ENTRY (WID ("retyped-password")); - pdialog->dialog_image = GTK_IMAGE (WID ("dialog-image")); - pdialog->status_label = GTK_LABEL (WID ("status-label")); + pdialog->current_password = GTK_ENTRY (gtk_builder_get_object (dialog, "current-password")); + pdialog->new_password = GTK_ENTRY (gtk_builder_get_object (dialog, "new-password")); + pdialog->retyped_password = GTK_ENTRY (gtk_builder_get_object (dialog, "retyped-password")); + pdialog->dialog_image = GTK_IMAGE (gtk_builder_get_object (dialog, "dialog-image")); + pdialog->status_label = GTK_LABEL (gtk_builder_get_object (dialog, "status-label")); /* Initialize accelerators */ gtk_widget_add_accelerator (GTK_WIDGET (pdialog->current_password), |