summaryrefslogtreecommitdiff
path: root/capplets/about-me/mate-about-me-password.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-13 16:07:32 +0300
committermonsta <[email protected]>2016-01-13 16:08:50 +0300
commitf21f8e9197d414d069754b06ef2f2aad5270ed10 (patch)
tree87dd77fd2a7ff3893729f354cd4f125963fbc275 /capplets/about-me/mate-about-me-password.c
parent4f252b91221de56383ee6f7451b79c5b5edad41e (diff)
downloadmate-control-center-f21f8e9197d414d069754b06ef2f2aad5270ed10.tar.bz2
mate-control-center-f21f8e9197d414d069754b06ef2f2aad5270ed10.tar.xz
about-me: remove unused variables and functions
Diffstat (limited to 'capplets/about-me/mate-about-me-password.c')
-rw-r--r--capplets/about-me/mate-about-me-password.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/capplets/about-me/mate-about-me-password.c b/capplets/about-me/mate-about-me-password.c
index 0b8e7cd3..e34c8662 100644
--- a/capplets/about-me/mate-about-me-password.c
+++ b/capplets/about-me/mate-about-me-password.c
@@ -428,7 +428,6 @@ io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswordDialog *pdi
GError *error = NULL;
gchar *msg = NULL; /* Status error message */
- GtkBuilder *dialog = NULL;
gboolean reinit = FALSE;
@@ -437,8 +436,6 @@ io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswordDialog *pdi
str = g_string_new ("");
}
- dialog = pdialog->ui;
-
if (g_io_channel_read_chars (source, buf, BUFSIZE, &bytes_read, &error) != G_IO_STATUS_NORMAL) {
g_warning ("IO Channel read error: %s", error->message);
g_error_free (error);
@@ -873,12 +870,9 @@ passdlg_authenticate (GtkButton *button, PasswordDialog *pdialog)
static guint
passdlg_validate_passwords (PasswordDialog *pdialog)
{
- GtkBuilder *dialog = NULL;
const gchar *new_password, *retyped_password;
glong nlen, rlen;
- dialog = pdialog->ui;
-
new_password = gtk_entry_get_text (pdialog->new_password);
retyped_password = gtk_entry_get_text (pdialog->retyped_password);