pidgin/pidginiconname.h

changeset 42620
72178a341eb8
parent 42476
5b5e6297cd31
child 42700
3e480ee2d7ee
equal deleted inserted replaced
42619:3dd7cd0eabf1 42620:72178a341eb8
43 * Gets the icon name to use for @primitive if found, otherwise returns 43 * Gets the icon name to use for @primitive if found, otherwise returns
44 * @fallback. 44 * @fallback.
45 * 45 *
46 * Returns: The icon name to use for @primitive. 46 * Returns: The icon name to use for @primitive.
47 * 47 *
48 * Since: 3.0.0 48 * Since: 3.0
49 */ 49 */
50 PIDGIN_AVAILABLE_IN_3_0 50 PIDGIN_AVAILABLE_IN_3_0
51 const gchar *pidgin_icon_name_from_status_primitive(PurpleStatusPrimitive primitive, const gchar *fallback); 51 const gchar *pidgin_icon_name_from_status_primitive(PurpleStatusPrimitive primitive, const gchar *fallback);
52 52
53 /** 53 /**
57 * 57 *
58 * Gets the icon name to use for @type if found, otherwise returns @fallback. 58 * Gets the icon name to use for @type if found, otherwise returns @fallback.
59 * 59 *
60 * Returns: The icon name to use for @type. 60 * Returns: The icon name to use for @type.
61 * 61 *
62 * Since: 3.0.0 62 * Since: 3.0
63 */ 63 */
64 PIDGIN_AVAILABLE_IN_3_0 64 PIDGIN_AVAILABLE_IN_3_0
65 const gchar *pidgin_icon_name_from_status_type(PurpleStatusType *type, const gchar *fallback); 65 const gchar *pidgin_icon_name_from_status_type(PurpleStatusType *type, const gchar *fallback);
66 66
67 /** 67 /**
71 * 71 *
72 * Gets the icon name to use for @status if found, otherwise returns @fallback. 72 * Gets the icon name to use for @status if found, otherwise returns @fallback.
73 * 73 *
74 * Returns: The icon name to use for @status. 74 * Returns: The icon name to use for @status.
75 * 75 *
76 * Since: 3.0.0 76 * Since: 3.0
77 */ 77 */
78 PIDGIN_AVAILABLE_IN_3_0 78 PIDGIN_AVAILABLE_IN_3_0
79 const gchar *pidgin_icon_name_from_status(PurpleStatus *status, const gchar *fallback); 79 const gchar *pidgin_icon_name_from_status(PurpleStatus *status, const gchar *fallback);
80 80
81 /** 81 /**
86 * Gets the icon name that should be used to represent @primitive. If the value 86 * Gets the icon name that should be used to represent @primitive. If the value
87 * is unknown @fallback will be returned. 87 * is unknown @fallback will be returned.
88 * 88 *
89 * Returns: (nullable): The icon name to use or @fallback. 89 * Returns: (nullable): The icon name to use or @fallback.
90 * 90 *
91 * Since: 3.0.0 91 * Since: 3.0
92 */ 92 */
93 PIDGIN_AVAILABLE_IN_3_0 93 PIDGIN_AVAILABLE_IN_3_0
94 const char *pidgin_icon_name_from_presence_primitive(PurplePresencePrimitive primitive, const char *fallback); 94 const char *pidgin_icon_name_from_presence_primitive(PurplePresencePrimitive primitive, const char *fallback);
95 95
96 /** 96 /**
101 * Gets the icon name that should be used to represent @presence falling back 101 * Gets the icon name that should be used to represent @presence falling back
102 * to @fallback if @presence is invalid. 102 * to @fallback if @presence is invalid.
103 * 103 *
104 * Returns: The icon name to represent @presence. 104 * Returns: The icon name to represent @presence.
105 * 105 *
106 * Since: 3.0.0 106 * Since: 3.0
107 */ 107 */
108 PIDGIN_AVAILABLE_IN_3_0 108 PIDGIN_AVAILABLE_IN_3_0
109 const char *pidgin_icon_name_from_presence(PurplePresence *presence, const char *fallback); 109 const char *pidgin_icon_name_from_presence(PurplePresence *presence, const char *fallback);
110 110
111 G_END_DECLS 111 G_END_DECLS

mercurial