pidgin: 38625f49: Add API for getting default conversation...

qulogic at pidgin.im qulogic at pidgin.im
Mon May 28 22:20:47 EDT 2012


----------------------------------------------------------------------
Revision: 38625f49b97b3f2f7d7d57c1d4964d7e803b08fd
Parent:   bfbdcc84940b2654ff1fd9e7448091a9977a4232
Author:   qulogic at pidgin.im
Date:     05/28/12 18:33:46
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/38625f49b97b3f2f7d7d57c1d4964d7e803b08fd

Changelog: 

Add API for getting default conversation theme.

Changes against parent bfbdcc84940b2654ff1fd9e7448091a9977a4232

  patched  pidgin/gtkconv.c
  patched  pidgin/gtkconv.h

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	9db8aea298b727f4ad2631c5bfa143895ad5b95c
+++ pidgin/gtkconv.c	ffc6dcbe8b805d1d06cdf84c6bbb942e9dede81c
@@ -8383,6 +8383,12 @@ gboolean pidgin_conv_attach_to_conversat
 	return TRUE;
 }
 
+PurpleTheme *
+pidgin_conversations_get_default_theme(void)
+{
+	return default_conv_theme;
+}
+
 void *
 pidgin_conversations_get_handle(void)
 {
============================================================
--- pidgin/gtkconv.h	270a87850d0ded969aecdab34ed3a007ba8c4d62
+++ pidgin/gtkconv.h	c0133d069deb58e6bd9aceda069b4cf46c44ddee
@@ -172,6 +172,13 @@ PurpleConversationUiOps *pidgin_conversa
 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.


More information about the Commits mailing list