diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-01 18:44:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-01 18:44:36 +0800 |
commit | 5f55aba5b052fb7284973f50009f8b369334d084 (patch) | |
tree | e7a5149f56fd8550915c3141a408fb79a14d0239 /widgets/misc | |
parent | 6824309c1179f1346b4877f67e386f237d954196 (diff) | |
download | gsoc2013-evolution-5f55aba5b052fb7284973f50009f8b369334d084.tar.gz gsoc2013-evolution-5f55aba5b052fb7284973f50009f8b369334d084.tar.zst gsoc2013-evolution-5f55aba5b052fb7284973f50009f8b369334d084.zip |
Merge in changes from master.
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/test-charset-picker.c | 38 | ||||
-rw-r--r-- | widgets/misc/test-error.c | 4 |
2 files changed, 1 insertions, 41 deletions
diff --git a/widgets/misc/test-charset-picker.c b/widgets/misc/test-charset-picker.c deleted file mode 100644 index 5b49e2d0f7..0000000000 --- a/widgets/misc/test-charset-picker.c +++ /dev/null @@ -1,38 +0,0 @@ -/* - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) version 3. - * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> - * - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#include <gnome.h> -#include "e-charset-picker.h" - -int -main (int argc, char **argv) -{ - char *charset; - - gnome_init ("test-charset-picker", "1.0", argc, argv); - - charset = e_charset_picker_dialog ("test-charset-picker", - "Pick a charset, any charset", - NULL, NULL); - if (charset) - printf ("You picked: %s\n", charset); - - return 0; -} diff --git a/widgets/misc/test-error.c b/widgets/misc/test-error.c index 84abd76ce3..c8b442b23a 100644 --- a/widgets/misc/test-error.c +++ b/widgets/misc/test-error.c @@ -25,14 +25,12 @@ #include <config.h> #endif -#include <libgnomeui/gnome-app.h> -#include <libgnomeui/gnome-ui-init.h> #include "e-error.h" int main (int argc, char **argv) { - gnome_init ("test-error", "0.0", argc, argv); + gtk_init (&argc, &argv); argc--; switch (argc) { |