comparison src/about.c @ 5872:059d95c67cda

[gaim-migrate @ 6304] The legendary Header File Cleanup! Files now only include what they need. This should reduce the number of files that must recompile when a header file changes. It's a lot nicer. Trust me on it. I also added a couple new header files. I hope I didn't break TOO much! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 14 Jun 2003 23:21:02 +0000
parents 8e55a4d362a3
children 8f94cce8faa5
comparison
equal deleted inserted replaced
5871:508adf90fbb9 5872:059d95c67cda
17 * along with this program; if not, write to the Free Software 17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 * 19 *
20 */ 20 */
21 21
22 #ifdef HAVE_CONFIG_H 22 #include "internal.h"
23 #include <config.h> 23 #include "gtkimhtml.h"
24 #endif 24 #include "gtkutils.h"
25 #include <string.h> 25 #include "stock.h"
26 #include <stdio.h> 26 #include "ui.h"
27 #include <stdlib.h>
28 #include <time.h>
29 27
30 #include <gtk/gtk.h> 28 /* XXX For WEBSITE */
31 #include "gaim.h" 29 #include "gaim.h"
32 #include "gtkimhtml.h"
33 30
34 static GtkWidget *about = NULL; 31 static GtkWidget *about = NULL;
35 32
36 static void destroy_about() 33 static void destroy_about()
37 { 34 {
38 if (about) 35 if (about)
39 gtk_widget_destroy(about); 36 gtk_widget_destroy(about);
40 about = NULL; 37 about = NULL;
41 }
42
43 char *name()
44 {
45 return PACKAGE;
46 }
47
48 char *description()
49 {
50 return WEBSITE;
51 }
52
53 char *version()
54 {
55 return VERSION;
56 } 38 }
57 39
58 void show_about(GtkWidget *w, void *data) 40 void show_about(GtkWidget *w, void *data)
59 { 41 {
60 GtkWidget *vbox; 42 GtkWidget *vbox;