user-accounts: Remove debugging program for testing a dialog
This is not used by anyone.
This commit is contained in:
parent
26b0720200
commit
3456269215
2 changed files with 0 additions and 57 deletions
|
@ -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 <gtk/gtk.h>
|
||||
|
||||
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;
|
||||
}
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue