diff libpurple/notify.c @ 32319:8878ea011fa1

Hide struct PurpleNotifySearchColumn.
author andrew.victor@mxit.com
date Fri, 21 Oct 2011 21:29:33 +0000
parents 0cc718e10344
children
line wrap: on
line diff
--- a/libpurple/notify.c	Fri Oct 21 20:39:29 2011 +0000
+++ b/libpurple/notify.c	Fri Oct 21 21:29:33 2011 +0000
@@ -56,6 +56,16 @@
 	GQueue entries;
 };
 
+/**
+ * Single column of a search result.
+ */
+struct _PurpleNotifySearchColumn
+{
+	char *title;           /**< Title of the column. */
+	gboolean visible;      /**< Should the column be visible to the user. Defaults to TRUE. */
+
+};
+
 void *
 purple_notify_message(void *handle, PurpleNotifyMsgType type,
 					const char *title, const char *primary,
@@ -368,6 +378,13 @@
 	return sc;
 }
 
+const char *purple_notify_searchresult_column_get_title(const PurpleNotifySearchColumn *column)
+{
+	g_return_val_if_fail(column != NULL, NULL);
+	
+	return column->title;
+}
+
 void purple_notify_searchresult_column_set_visible(PurpleNotifySearchColumn *column, gboolean visible)
 {
 	g_return_if_fail(column != NULL);