debug.h | debug.h | |||
---|---|---|---|---|
skipping to change at line 179 | skipping to change at line 179 | |||
/** | /** | |||
* Check if verbose logging is enabled. | * Check if verbose logging is enabled. | |||
* | * | |||
* @return TRUE if verbose debugging is enabled, FALSE if it is not. | * @return TRUE if verbose debugging is enabled, FALSE if it is not. | |||
* | * | |||
* @since 2.6.0 | * @since 2.6.0 | |||
*/ | */ | |||
gboolean purple_debug_is_verbose(void); | gboolean purple_debug_is_verbose(void); | |||
/** | /** | |||
* Enable or disable verbose debugging. This ordinarily should only be cal led | * Enable or disable unsafe debugging. This ordinarily should only be call ed | |||
* by #purple_debug_init, but there are cases where this can be useful for | * by #purple_debug_init, but there are cases where this can be useful for | |||
* plugins. | * plugins. | |||
* | * | |||
* @param unsafe TRUE to enable verbose debugging or FALSE to disable it. | * @param unsafe TRUE to enable debug logging of messages that could | |||
* potentially contain passwords and other sensitive information. | ||||
* FALSE to disable it. | ||||
* | * | |||
* @since 2.6.0 | * @since 2.6.0 | |||
*/ | */ | |||
void purple_debug_set_unsafe(gboolean unsafe); | void purple_debug_set_unsafe(gboolean unsafe); | |||
/** | /** | |||
* Check if unsafe debugging is enabled. | * Check if unsafe debugging is enabled. Defaults to FALSE. | |||
* | * | |||
* @return TRUE if verbose debugging is enabled, FALSE if it is not. | * @return TRUE if the debug logging of all messages is enabled, FALSE | |||
* if messages that could potentially contain passwords and other | ||||
* sensitive information are not logged. | ||||
* | * | |||
* @since 2.6.0 | * @since 2.6.0 | |||
*/ | */ | |||
gboolean purple_debug_is_unsafe(void); | gboolean purple_debug_is_unsafe(void); | |||
/*@}*/ | /*@}*/ | |||
/************************************************************************** / | /************************************************************************** / | |||
/** @name UI Registration Functions * / | /** @name UI Registration Functions * / | |||
/************************************************************************** / | /************************************************************************** / | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 8 lines changed or added | |||
gnttree.h | gnttree.h | |||
---|---|---|---|---|
skipping to change at line 225 | skipping to change at line 225 | |||
* | * | |||
* @return A list of texts of a row. The list and its data should be | * @return A list of texts of a row. The list and its data should be | |||
* freed by the caller. The caller should make sure that if | * freed by the caller. The caller should make sure that if | |||
* any column of the tree contains binary data, it's not freed. | * any column of the tree contains binary data, it's not freed. | |||
* @see gnt_tree_get_selection_text_list | * @see gnt_tree_get_selection_text_list | |||
* @see gnt_tree_get_selection_text | * @see gnt_tree_get_selection_text | |||
*/ | */ | |||
GList * gnt_tree_get_row_text_list(GntTree *tree, gpointer key); | GList * gnt_tree_get_row_text_list(GntTree *tree, gpointer key); | |||
/** | /** | |||
* Get the key of a row. | ||||
* | ||||
* @param tree The tree | ||||
* @param row The GntTreeRow object | ||||
* | ||||
* @return The key of the row. | ||||
* @since 2.8.0 (gnt), 2.7.2 (pidgin) | ||||
*/ | ||||
gpointer gnt_tree_row_get_key(GntTree *tree, GntTreeRow *row); | ||||
/** | ||||
* Get the next row. | ||||
* | ||||
* @param tree The tree | ||||
* @param row The GntTreeRow object | ||||
* | ||||
* @return The next row. | ||||
* @since 2.8.0 (gnt), 2.7.2 (pidgin) | ||||
*/ | ||||
GntTreeRow * gnt_tree_row_get_next(GntTree *tree, GntTreeRow *row); | ||||
/** | ||||
* Get the previous row. | ||||
* | ||||
* @param tree The tree | ||||
* @param row The GntTreeRow object | ||||
* | ||||
* @return The previous row. | ||||
* @since 2.8.0 (gnt), 2.7.2 (pidgin) | ||||
*/ | ||||
GntTreeRow * gnt_tree_row_get_prev(GntTree *tree, GntTreeRow *row); | ||||
/** | ||||
* Get the child row. | ||||
* | ||||
* @param tree The tree | ||||
* @param row The GntTreeRow object | ||||
* | ||||
* @return The child row. | ||||
* @since 2.8.0 (gnt), 2.7.2 (pidgin) | ||||
*/ | ||||
GntTreeRow * gnt_tree_row_get_child(GntTree *tree, GntTreeRow *row); | ||||
/** | ||||
* Get the parent row. | ||||
* | ||||
* @param tree The tree | ||||
* @param row The GntTreeRow object | ||||
* | ||||
* @return The parent row. | ||||
* @since 2.8.0 (gnt), 2.7.2 (pidgin) | ||||
*/ | ||||
GntTreeRow * gnt_tree_row_get_parent(GntTree *tree, GntTreeRow *row); | ||||
/** | ||||
* Get a list of text of the current row. | * Get a list of text of the current row. | |||
* | * | |||
* @param tree The tree | * @param tree The tree | |||
* | * | |||
* @return A list of texts of the currently selected row. The list | * @return A list of texts of the currently selected row. The list | |||
* and its data should be freed by the caller. The caller | * and its data should be freed by the caller. The caller | |||
* should make sure that if any column of the tree contains | * should make sure that if any column of the tree contains | |||
* binary data, it's not freed. | * binary data, it's not freed. | |||
* @see gnt_tree_get_row_text_list | * @see gnt_tree_get_row_text_list | |||
* @see gnt_tree_get_selection_text | * @see gnt_tree_get_selection_text | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 55 lines changed or added | |||
gtkutils.h | gtkutils.h | |||
---|---|---|---|---|
skipping to change at line 408 | skipping to change at line 408 | |||
/** | /** | |||
* Check if the given path is a directory or not. If it is, then modify | * Check if the given path is a directory or not. If it is, then modify | |||
* the given GtkFileSelection dialog so that it displays the given path. | * the given GtkFileSelection dialog so that it displays the given path. | |||
* If the given path is not a directory, then do nothing. | * If the given path is not a directory, then do nothing. | |||
* | * | |||
* @param path The path entered in the file selection window by the user . | * @param path The path entered in the file selection window by the user . | |||
* @param filesel The file selection window. | * @param filesel The file selection window. | |||
* | * | |||
* @return TRUE if given path is a directory, FALSE otherwise. | * @return TRUE if given path is a directory, FALSE otherwise. | |||
* @deprecated Pidgin no longer uses GtkFileSelection internally. It has al | ||||
so | ||||
* been deprecated by GTK+. Use GtkFileChooser instead and igno | ||||
re | ||||
* this function. | ||||
*/ | */ | |||
gboolean pidgin_check_if_dir(const char *path, GtkFileSelection *filesel); | gboolean pidgin_check_if_dir(const char *path, GtkFileSelection *filesel); | |||
/** | /** | |||
* Sets up GtkSpell for the given GtkTextView, reporting errors | * Sets up GtkSpell for the given GtkTextView, reporting errors | |||
* if encountered. | * if encountered. | |||
* | * | |||
* This does nothing if Pidgin is not compiled with GtkSpell support. | * This does nothing if Pidgin is not compiled with GtkSpell support. | |||
* | * | |||
* @param textview The textview widget to setup spellchecking for. | * @param textview The textview widget to setup spellchecking for. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-130 1 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-130 1 USA | |||
*/ | */ | |||
#ifndef _PURPLE_VERSION_H_ | #ifndef _PURPLE_VERSION_H_ | |||
#define _PURPLE_VERSION_H_ | #define _PURPLE_VERSION_H_ | |||
/** The major version of the running libpurple. */ | /** The major version of the running libpurple. */ | |||
#define PURPLE_MAJOR_VERSION (2) | #define PURPLE_MAJOR_VERSION (2) | |||
/** The minor version of the running libpurple. */ | /** The minor version of the running libpurple. */ | |||
#define PURPLE_MINOR_VERSION (7) | #define PURPLE_MINOR_VERSION (7) | |||
/** The micro version of the running libpurple. */ | /** The micro version of the running libpurple. */ | |||
#define PURPLE_MICRO_VERSION (2) | #define PURPLE_MICRO_VERSION (3) | |||
#define PURPLE_VERSION_CHECK(x,y,z) ((x) == PURPLE_MAJOR_VERSION && \ | #define PURPLE_VERSION_CHECK(x,y,z) ((x) == PURPLE_MAJOR_VERSION && \ | |||
((y ) < PURPLE_MINOR_VERSION || \ | ((y ) < PURPLE_MINOR_VERSION || \ | |||
(( y) == PURPLE_MINOR_VERSION && (z) <= PURPLE_MICRO_VERSION))) | (( y) == PURPLE_MINOR_VERSION && (z) <= PURPLE_MICRO_VERSION))) | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/** | /** | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
xmlnode.h | xmlnode.h | |||
---|---|---|---|---|
skipping to change at line 208 | skipping to change at line 208 | |||
const char *prefix, const char *value); | const char *prefix, const char *value); | |||
/** | /** | |||
* Gets an attribute from a node. | * Gets an attribute from a node. | |||
* | * | |||
* @param node The node to get an attribute from. | * @param node The node to get an attribute from. | |||
* @param attr The attribute to get. | * @param attr The attribute to get. | |||
* | * | |||
* @return The value of the attribute. | * @return The value of the attribute. | |||
*/ | */ | |||
const char *xmlnode_get_attrib(xmlnode *node, const char *attr); | const char *xmlnode_get_attrib(const xmlnode *node, const char *attr); | |||
/** | /** | |||
* Gets a namespaced attribute from a node | * Gets a namespaced attribute from a node | |||
* | * | |||
* @param node The node to get an attribute from. | * @param node The node to get an attribute from. | |||
* @param attr The attribute to get | * @param attr The attribute to get | |||
* @param xmlns The namespace of the attribute to get | * @param xmlns The namespace of the attribute to get | |||
* | * | |||
* @return The value of the attribute/ | * @return The value of the attribute/ | |||
*/ | */ | |||
const char *xmlnode_get_attrib_with_namespace(xmlnode *node, const char *at tr, const char *xmlns); | const char *xmlnode_get_attrib_with_namespace(const xmlnode *node, const ch ar *attr, const char *xmlns); | |||
/** | /** | |||
* Removes an attribute from a node. | * Removes an attribute from a node. | |||
* | * | |||
* @param node The node to remove an attribute from. | * @param node The node to remove an attribute from. | |||
* @param attr The attribute to remove. | * @param attr The attribute to remove. | |||
*/ | */ | |||
void xmlnode_remove_attrib(xmlnode *node, const char *attr); | void xmlnode_remove_attrib(xmlnode *node, const char *attr); | |||
/** | /** | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||