From 345626921556e47e572d7636f8353d8b782adadf Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 8 Nov 2018 10:28:26 +1300 Subject: [PATCH] user-accounts: Remove debugging program for testing a dialog This is not used by anyone. --- panels/user-accounts/frob-account-dialog.c | 45 ---------------------- panels/user-accounts/meson.build | 12 ------ 2 files changed, 57 deletions(-) delete mode 100644 panels/user-accounts/frob-account-dialog.c diff --git a/panels/user-accounts/frob-account-dialog.c b/panels/user-accounts/frob-account-dialog.c deleted file mode 100644 index 9d041ada0..000000000 --- a/panels/user-accounts/frob-account-dialog.c +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- - * - * Copyright (C) 2012 Red Hat, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "cc-add-user-dialog.h" - -#include - -int -main (int argc, - char *argv[]) -{ - CcAddUserDialog *dialog; - ActUser *user; - - gtk_init (&argc, &argv); - - dialog = cc_add_user_dialog_new (NULL); - - gtk_dialog_run (GTK_DIALOG (dialog)); - - user = cc_add_user_dialog_get_user (dialog); - if (user == NULL) { - g_printerr ("No user created\n"); - } else { - g_printerr ("User created: %s\n", act_user_get_user_name (user)); - } - - return 0; -} diff --git a/panels/user-accounts/meson.build b/panels/user-accounts/meson.build index 8be3b8182..caa215837 100644 --- a/panels/user-accounts/meson.build +++ b/panels/user-accounts/meson.build @@ -187,15 +187,3 @@ panels_libs += static_library( dependencies: deps, c_args: cflags ) - -name = 'frob-account-dialog' - -sources = common_sources + files(name + '.c') - -executable( - name, - sources, - include_directories: top_inc, - dependencies: deps, - c_args: cflags -)