| 56 * when you select the plugin action from the Tools->Notify Example menu */ |
56 * when you select the plugin action from the Tools->Notify Example menu */ |
| 57 static void |
57 static void |
| 58 notify_error_cb(PurplePluginAction *action) |
58 notify_error_cb(PurplePluginAction *action) |
| 59 { |
59 { |
| 60 purple_notify_error(notify_example, "Test Notification", "Test Notification", |
60 purple_notify_error(notify_example, "Test Notification", "Test Notification", |
| 61 "This is a test error notification"); |
61 "This is a test error notification", NULL); |
| 62 } |
62 } |
| 63 |
63 |
| 64 static void |
64 static void |
| 65 notify_info_cb(PurplePluginAction *action) |
65 notify_info_cb(PurplePluginAction *action) |
| 66 { |
66 { |
| 67 purple_notify_info(notify_example, "Test Notification", "Test Notification", |
67 purple_notify_info(notify_example, "Test Notification", "Test Notification", |
| 68 "This is a test informative notification"); |
68 "This is a test informative notification", NULL); |
| 69 } |
69 } |
| 70 |
70 |
| 71 static void |
71 static void |
| 72 notify_warn_cb(PurplePluginAction *action) |
72 notify_warn_cb(PurplePluginAction *action) |
| 73 { |
73 { |
| 74 purple_notify_warning(notify_example, "Test Notification", "Test Notification", |
74 purple_notify_warning(notify_example, "Test Notification", "Test Notification", |
| 75 "This is a test warning notification"); |
75 "This is a test warning notification", NULL); |
| 76 } |
76 } |
| 77 |
77 |
| 78 static void |
78 static void |
| 79 notify_format_cb(PurplePluginAction *action) |
79 notify_format_cb(PurplePluginAction *action) |
| 80 { |
80 { |