pidgin/pidgin

Add API for getting default conversation theme.

2012-05-28, Elliott Sales de Andrade
9ffb2eddcc23
Parents fac8b55c53ed
Children 89f064bdd762
Add API for getting default conversation theme.
--- a/pidgin/gtkconv.c Mon May 28 22:13:56 2012 +0000
+++ b/pidgin/gtkconv.c Mon May 28 22:33:46 2012 +0000
@@ -8383,6 +8383,12 @@
return TRUE;
}
+PurpleTheme *
+pidgin_conversations_get_default_theme(void)
+{
+ return default_conv_theme;
+}
+
void *
pidgin_conversations_get_handle(void)
{
--- a/pidgin/gtkconv.h Mon May 28 22:13:56 2012 +0000
+++ b/pidgin/gtkconv.h Mon May 28 22:33:46 2012 +0000
@@ -172,6 +172,13 @@
PurpleConversationUiOps *pidgin_conversations_get_conv_ui_ops(void);
/**
+ * Returns the default theme for GTK+ conversations.
+ *
+ * @return The default GTK+ conversation theme.
+ */
+PurpleTheme *pidgin_conversations_get_default_theme(void);
+
+/**
* Updates the buddy icon on a conversation.
*
* @param conv The conversation.