libpurple/notify.h

changeset 37410
fd7447005dea
parent 37409
9dadde8529a8
child 38716
b9bed228745a
--- a/libpurple/notify.h	Wed Dec 09 23:57:54 2015 -0800
+++ b/libpurple/notify.h	Thu Dec 10 22:53:13 2015 -0800
@@ -38,6 +38,9 @@
 #define  PURPLE_TYPE_NOTIFY_USER_INFO  (purple_notify_user_info_get_type())
 typedef struct _PurpleNotifyUserInfo		PurpleNotifyUserInfo;
 
+#define PURPLE_TYPE_NOTIFY_SEARCH_BUTTON  (purple_notify_search_button_get_type())
+typedef struct _PurpleNotifySearchButton	PurpleNotifySearchButton;
+
 /**
  * PurpleNotifySearchColumn:
  *
@@ -166,17 +169,18 @@
 
 /**
  * PurpleNotifySearchButton:
+ * @type:     The type of search button that will be used.
  * @callback: Function to be called when clicked.
  * @label:    only for PURPLE_NOTIFY_BUTTON_LABELED
  *
  * Definition of a button.
  */
-typedef struct
+struct _PurpleNotifySearchButton
 {
 	PurpleNotifySearchButtonType type;
 	PurpleNotifySearchResultsCallback callback;
 	char *label;
-} PurpleNotifySearchButton;
+};
 
 
 /**
@@ -489,6 +493,13 @@
 						   gpointer user_data);
 
 /**
+ * purple_notify_search_button_get_type:
+ *
+ * Returns: The #GType for #PurpleNotifiySearchButton boxed structure.
+ */
+GType purple_notify_search_button_get_type(void);
+
+/**
  * purple_notify_user_info_get_type:
  *
  * Returns: The #GType for the #PurpleNotifyUserInfo boxed structure.

mercurial