diff --git a/capplets/appearance/ChangeLog b/capplets/appearance/ChangeLog index 03f968950..d69364376 100644 --- a/capplets/appearance/ChangeLog +++ b/capplets/appearance/ChangeLog @@ -1,3 +1,10 @@ +2007-04-30 Thomas Wood + + * appearance-main.c: (main): + * appearance.h: + + Include config.h and add some comments. + 2007-04-30 Denis Washington * appearance.glade: replace occurrences of "colour" with "color". diff --git a/capplets/appearance/appearance-main.c b/capplets/appearance/appearance-main.c index d810d010e..1bf88e7b9 100644 --- a/capplets/appearance/appearance-main.c +++ b/capplets/appearance/appearance-main.c @@ -28,10 +28,8 @@ #include /* ---------------------------------- */ -#define VERSION "0.0" - static AppearanceData * -init (int argc, char **argv) +init_appearance_data (int argc, char **argv) { AppearanceData *data = NULL; gchar *gladefile; @@ -66,7 +64,7 @@ main (int argc, char **argv) GnomeProgram *program; /* init */ - data = init (argc, argv); + data = init_appearance_data (argc, argv); if (!data) return 1; @@ -81,15 +79,20 @@ main (int argc, char **argv) /* init tabs */ themes_init (data); + /* + * fonts_init (data); + * desktop_init (data); + * etc... + */ + /* prepare the main window */ w = WID ("appearance_window"); gtk_widget_show_all (w); g_signal_connect (G_OBJECT (w), "delete-event", (GCallback) gtk_main_quit, NULL); - + /* start the mainloop */ gtk_main (); - /* free stuff */ g_object_unref (data->xml); g_free (data); diff --git a/capplets/appearance/appearance.h b/capplets/appearance/appearance.h index f0052677b..2d33799d0 100644 --- a/capplets/appearance/appearance.h +++ b/capplets/appearance/appearance.h @@ -21,6 +21,7 @@ #include #include #include +#include #define WID(x) (glade_xml_get_widget (data->xml, x))