| 52 /* |
52 /* |
| 53 * TODO: Hmm. We should probably just be saving PurplePresences. That's |
53 * TODO: Hmm. We should probably just be saving PurplePresences. That's |
| 54 * something we should look into once the status box gets fleshed |
54 * something we should look into once the status box gets fleshed |
| 55 * out more. |
55 * out more. |
| 56 */ |
56 */ |
| 57 #define PURPLE_TYPE_SAVEDSTATUS (purple_savedstatus_get_type()) |
57 #define PURPLE_TYPE_SAVEDSTATUS (purple_savedstatus_get_g_type()) |
| 58 |
58 |
| 59 typedef struct _PurpleSavedStatus PurpleSavedStatus; |
59 typedef struct _PurpleSavedStatus PurpleSavedStatus; |
| 60 typedef struct _PurpleSavedStatusSub PurpleSavedStatusSub; |
60 typedef struct _PurpleSavedStatusSub PurpleSavedStatusSub; |
| 61 |
61 |
| 62 #include "status.h" |
62 #include "status.h" |
| 71 /** |
71 /** |
| 72 * Returns the GType for the PurpleSavedStatus boxed structure. |
72 * Returns the GType for the PurpleSavedStatus boxed structure. |
| 73 * TODO Boxing of PurpleSavedStatus is a temporary solution to having a GType |
73 * TODO Boxing of PurpleSavedStatus is a temporary solution to having a GType |
| 74 * for saved statuses. This should rather be a GObject instead of a GBoxed. |
74 * for saved statuses. This should rather be a GObject instead of a GBoxed. |
| 75 */ |
75 */ |
| 76 GType purple_savedstatus_get_type(void); |
76 GType purple_savedstatus_get_g_type(void); |
| 77 |
77 |
| 78 /** |
78 /** |
| 79 * Create a new saved status. This will add the saved status to the |
79 * Create a new saved status. This will add the saved status to the |
| 80 * list of saved statuses and writes the revised list to status.xml. |
80 * list of saved statuses and writes the revised list to status.xml. |
| 81 * |
81 * |