Sun, 19 Nov 2023 00:02:56 -0600
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Testing Done:
Connected a demo protocol plugin and verified Ivanhoe's status said `Do not disturb`.
Reviewed at https://reviews.imfreedom.org/r/2833/
| 41320 | 1 | /* |
| 2 | * Pidgin - Internet Messenger | |
| 3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> | |
| 4 | * | |
| 5 | * Pidgin is the legal property of its developers, whose names are too numerous | |
| 6 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 7 | * source distribution. | |
| 8 | * | |
| 9 | * This program is free software; you can redistribute it and/or modify | |
| 10 | * it under the terms of the GNU General Public License as published by | |
| 11 | * the Free Software Foundation; either version 2 of the License, or | |
| 12 | * (at your option) any later version. | |
| 13 | * | |
| 14 | * This program is distributed in the hope that it will be useful, | |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | * GNU General Public License for more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU General Public License | |
| 20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. | |
| 21 | */ | |
| 22 | ||
| 23 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) | |
| 24 | # error "only <pidgin.h> may be included directly" | |
| 25 | #endif | |
| 26 | ||
| 27 | #ifndef PIDGIN_STATUS_BOX_H | |
| 28 | #define PIDGIN_STATUS_BOX_H | |
| 29 | ||
| 30 | #include <gtk/gtk.h> | |
| 31 | ||
|
42464
5de142a471e0
Add Since tags and visibility for Pidgin 2.x symbols
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41320
diff
changeset
|
32 | #include "pidginversion.h" |
|
5de142a471e0
Add Since tags and visibility for Pidgin 2.x symbols
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41320
diff
changeset
|
33 | |
| 41320 | 34 | G_BEGIN_DECLS |
| 35 | ||
| 36 | #define PIDGIN_TYPE_STATUS_BOX (pidgin_status_box_get_type ()) | |
|
42464
5de142a471e0
Add Since tags and visibility for Pidgin 2.x symbols
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41320
diff
changeset
|
37 | |
|
5de142a471e0
Add Since tags and visibility for Pidgin 2.x symbols
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41320
diff
changeset
|
38 | PIDGIN_AVAILABLE_IN_ALL |
| 41320 | 39 | G_DECLARE_FINAL_TYPE(PidginStatusBox, pidgin_status_box, PIDGIN, STATUS_BOX, |
| 40 | GtkBox) | |
| 41 | ||
|
42464
5de142a471e0
Add Since tags and visibility for Pidgin 2.x symbols
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41320
diff
changeset
|
42 | |
|
5de142a471e0
Add Since tags and visibility for Pidgin 2.x symbols
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41320
diff
changeset
|
43 | PIDGIN_AVAILABLE_IN_ALL |
| 41320 | 44 | GtkWidget *pidgin_status_box_new(void); |
| 45 | ||
| 46 | G_END_DECLS | |
| 47 | ||
| 48 | #endif /* PIDGIN_STATUS_BOX_H */ |