aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/about/about.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/about/about.c')
-rw-r--r--src/plugins/about/about.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/plugins/about/about.c b/src/plugins/about/about.c
new file mode 100644
index 00000000..5cf780c4
--- /dev/null
+++ b/src/plugins/about/about.c
@@ -0,0 +1,50 @@
1/*
2 This file is part of GNUnet
3
4 GNUnet is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published
6 by the Free Software Foundation; either version 2, or (at your
7 option) any later version.
8
9 GNUnet is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with GNUnet; see the file COPYING. If not, write to the
16 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA.
18*/
19
20/**
21 * @file src/about.c
22 * @author Christian Grothoff
23 * @author Igor Wronsky
24 *
25 * This file contains the about dialog.
26 */
27
28#include "config.h"
29#include "main.h"
30
31/**
32 * This displays an about window
33 */
34void on_about_clicked(GtkWidget *dummy,
35 gpointer data) {
36 GtkWidget * ad;
37 GladeXML * axml;
38
39 axml
40 = glade_xml_new(gladeFile,
41 "aboutDialog",
42 NULL);
43 ad
44 = glade_xml_get_widget(axml,
45 "aboutDialog");
46 gtk_dialog_run(GTK_DIALOG(ad));
47 g_object_unref(axml);
48}
49
50/* end of about.c */