# HG changeset patch # User Mark Doliner # Date 1091306883 0 # Node ID da88e2cd5c5334a553d223f92a3b647b2ed31741 # Parent 848e5fbcd520bafb43470e4a694fd3094b720a36 [gaim-migrate @ 10463] Odds n ends. committer: Tailor Script diff -r 848e5fbcd520 -r da88e2cd5c53 HACKING --- a/HACKING Sat Jul 31 15:27:39 2004 +0000 +++ b/HACKING Sat Jul 31 20:48:03 2004 +0000 @@ -192,14 +192,6 @@ is housed, to import buddy lists. (The actual buddy list parsing code is in util.c for winaim lists and buddy.c for gaim's own lists.) -gaimrc.c: - This controls everything about the .gaimrc file. There's not really much - to say about it; this is probably one of the better designed and easier - to follow files in gaim. The important functions are towards the bottom. - This file is also utterly deprecated. It is used only for importing - on upgrade. the prefs.c and prefs.h files replace the control, - and gtkprefs.c replaces the gui component. - gtkimhtml.c: This is gaim's HTML widget. It replaced the old widget, GtkHtml (which was different than GNOME's GtkHTML). It's self-contained (it doesn't diff -r 848e5fbcd520 -r da88e2cd5c53 PROGRAMMING_NOTES --- a/PROGRAMMING_NOTES Sat Jul 31 15:27:39 2004 +0000 +++ b/PROGRAMMING_NOTES Sat Jul 31 20:48:03 2004 +0000 @@ -31,10 +31,6 @@ printf("File in DATADIR is: %s%s%s\n", DATADIR, G_DIR_SEPARATOR_S, "pic.png"); -- When writing out paths to .gaimrc, use wgaim_escape_dirsep. This is necessary - because the Windows dir separator '\' is being used to escape characters, when - paths are read in from the .gaimrc file. - PLUGINS & PROTOS ---------------- diff -r 848e5fbcd520 -r da88e2cd5c53 src/account.c --- a/src/account.c Sat Jul 31 15:27:39 2004 +0000 +++ b/src/account.c Sat Jul 31 20:48:03 2004 +0000 @@ -1199,7 +1199,7 @@ g_free(filename); accounts_loaded = TRUE; - return TRUE; /* we return TRUE so .gaimrc doesn't load */ + return TRUE; } if (!g_markup_parse_context_end_parse(context, NULL)) { @@ -1210,7 +1210,7 @@ g_free(filename); accounts_loaded = TRUE; - return TRUE; /* we return TRUE so .gaimrc doesn't load */ + return TRUE; } g_markup_parse_context_free(context); diff -r 848e5fbcd520 -r da88e2cd5c53 src/account.h --- a/src/account.h Sat Jul 31 15:27:39 2004 +0000 +++ b/src/account.h Sat Jul 31 20:48:03 2004 +0000 @@ -535,6 +535,9 @@ /** * Loads the accounts. + * + * @return TRUE if accounts.xml was loaded successfully. Otherwise + * FALSE is returned. */ gboolean gaim_accounts_load(); diff -r 848e5fbcd520 -r da88e2cd5c53 src/prefs.h --- a/src/prefs.h Sat Jul 31 15:27:39 2004 +0000 +++ b/src/prefs.h Sat Jul 31 20:48:03 2004 +0000 @@ -177,8 +177,8 @@ /** * Check if a pref exists * - * @param name The name of the pref - * @return Whether or not the pref exists + * @param name The name of the pref + * @return TRUE if the pref exists. Otherwise FALSE. */ gboolean gaim_prefs_exists(const char *name);