--- a/pidgin/gtkblist.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkblist.h Wed Nov 01 00:17:57 2023 -0500
@@ -28,6 +28,8 @@
+#include "pidginversion.h" #define PIDGIN_TYPE_BUDDY_LIST (pidgin_buddy_list_get_type())
typedef struct _PidginBuddyList PidginBuddyList;
@@ -60,14 +62,20 @@
* Returns: Returns TRUE if there are accounts online capable of
* joining chat rooms. Otherwise returns FALSE.
gboolean pidgin_blist_joinchat_is_showable(void);
* pidgin_blist_joinchat_show:
* Shows the join chat dialog.
void pidgin_blist_joinchat_show(void);
--- a/pidgin/gtkconv.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkconv.h Wed Nov 01 00:17:57 2023 -0500
@@ -39,6 +39,8 @@
+#include "pidginversion.h" /**************************************************************************
**************************************************************************/
@@ -76,7 +78,10 @@
* Returns the UI operations structure for GTK conversations.
* Returns: The GTK conversation operations structure.
PurpleConversationUiOps *pidgin_conversations_get_conv_ui_ops(void);
/**************************************************************************/
@@ -89,21 +94,30 @@
* Returns the gtk conversations subsystem handle.
* Returns: The conversations subsystem handle.
void *pidgin_conversations_get_handle(void);
* pidgin_conversations_init:
* Initializes the GTK conversations subsystem.
void pidgin_conversations_init(void);
* pidgin_conversations_uninit:
* Uninitialized the GTK conversation subsystem.
void pidgin_conversations_uninit(void);
--- a/pidgin/gtkdialogs.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkdialogs.h Wed Nov 01 00:17:57 2023 -0500
@@ -28,13 +28,23 @@
+#include "pidginversion.h" void pidgin_dialogs_im(void);
void pidgin_dialogs_im_with_user(PurpleAccount *account, const char *username);
void pidgin_dialogs_info(void);
void pidgin_dialogs_alias_buddy(PurpleBuddy *buddy);
void pidgin_dialogs_alias_chat(PurpleChat *chat);
--- a/pidgin/gtknotify.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtknotify.h Wed Nov 01 00:17:57 2023 -0500
@@ -28,6 +28,8 @@
+#include "pidginversion.h" @@ -36,21 +38,30 @@
* Returns the UI operations structure for GTK notification functions.
* Returns: The GTK UI notify operations structure.
PurpleNotifyUiOps *pidgin_notify_get_ui_ops(void);
* Initializes the GTK notifications subsystem.
void pidgin_notify_init(void);
* Uninitialized the GTK notifications subsystem.
void pidgin_notify_uninit(void);
--- a/pidgin/gtkrequest.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkrequest.h Wed Nov 01 00:17:57 2023 -0500
@@ -30,6 +30,8 @@
+#include "pidginversion.h" @@ -38,7 +40,10 @@
* Returns the UI operations structure for GTK request functions.
* Returns: The GTK UI request operations structure.
PurpleRequestUiOps *pidgin_request_get_ui_ops(void);
--- a/pidgin/gtkroomlist.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkroomlist.h Wed Nov 01 00:17:57 2023 -0500
@@ -28,13 +28,18 @@
+#include "pidginversion.h" * Initializes the room list subsystem.
void pidgin_roomlist_init(void);
@@ -44,14 +49,20 @@
* Returns: TRUE if there are accounts online that support listing
* chat rooms. Otherwise return FALSE.
gboolean pidgin_roomlist_is_showable(void);
* pidgin_roomlist_dialog_show:
* Shows a new roomlist dialog.
void pidgin_roomlist_dialog_show(void);
@@ -59,7 +70,10 @@
* @account: The account to use.
* Shows a new room list dialog and fetches the list for the specified account.
void pidgin_roomlist_dialog_show_with_account(PurpleAccount *account);
--- a/pidgin/gtksavedstatuses.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtksavedstatuses.h Wed Nov 01 00:17:57 2023 -0500
@@ -28,6 +28,8 @@
+#include "pidginversion.h" @@ -39,7 +41,10 @@
* Returns: (transfer full): The menu widget
GtkWidget *pidgin_status_menu(PurpleSavedStatus *status, GCallback callback);
--- a/pidgin/gtkutils.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkutils.h Wed Nov 01 00:17:57 2023 -0500
@@ -32,11 +32,13 @@
#include "pidginversion.h"
+PIDGIN_AVAILABLE_TYPE_IN_2_1 } PidginBuddyCompletionEntry;
+PIDGIN_AVAILABLE_TYPE_IN_2_1 typedef gboolean (*PidginFilterBuddyCompletionEntryFunc) (const PidginBuddyCompletionEntry *completion_entry, gpointer user_data);
@@ -50,7 +52,10 @@
* Creates a HIG preferences frame.
* Returns: (transfer full): The vbox to put things into.
GtkWidget *pidgin_make_frame(GtkWidget *parent, const char *title);
@@ -65,7 +70,10 @@
* Add autocompletion of screenames to an entry, supporting a filtering
void pidgin_setup_screenname_autocomplete(
GtkWidget *entry, GtkWidget *chooser,
PidginFilterBuddyCompletionEntryFunc filter_func, gpointer user_data);
@@ -79,7 +87,10 @@
* The default filter function for username autocomplete.
* Returns: Returns %TRUE if the autocompletion entry is filtered.
gboolean pidgin_screenname_autocomplete_default_filter(const PidginBuddyCompletionEntry *completion_entry, gpointer all_accounts);
@@ -114,7 +125,10 @@
* Sets an ATK name for a given widget. Also sets the labelled-by
* and label-for ATK relationships.
void pidgin_set_accessible_label(GtkWidget *w, GtkLabel *l);
@@ -126,7 +140,9 @@
* pidgin_tree_view_search_equal_func,
* search_data, search_data_destroy_cb);
gboolean pidgin_tree_view_search_equal_func(GtkTreeModel *model, gint column,
const gchar *key, GtkTreeIter *iter, gpointer data);
--- a/pidgin/gtkwhiteboard.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkwhiteboard.h Wed Nov 01 00:17:57 2023 -0500
@@ -26,6 +26,8 @@
#ifndef _PIDGINWHITEBOARD_H_
#define _PIDGINWHITEBOARD_H_
+#include "pidginversion.h" /*****************************************************************************/
@@ -38,7 +40,10 @@
* Gets the GtkWhiteboard UI Operations.
* Returns: The GtkWhiteboard UI Operations.
PurpleWhiteboardUiOps *pidgin_whiteboard_get_ui_ops(void);
--- a/pidgin/gtkxfer.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/gtkxfer.h Wed Nov 01 00:17:57 2023 -0500
@@ -28,6 +28,8 @@
+#include "pidginversion.h" @@ -52,7 +54,10 @@
* Creates a new file transfer dialog.
* Returns: The new dialog.
PidginXferDialog *pidgin_xfer_dialog_new(void);
@@ -60,7 +65,10 @@
* @dialog: The file transfer dialog.
* Destroys a file transfer dialog.
void pidgin_xfer_dialog_destroy(PidginXferDialog *dialog);
@@ -69,7 +77,10 @@
* Displays the file transfer dialog given.
* If dialog is %NULL, displays the default dialog, creating one if necessary
void pidgin_xfer_dialog_show(PidginXferDialog *dialog);
@@ -77,7 +88,10 @@
* @dialog: The file transfer dialog to hide.
* Hides the file transfer dialog.
void pidgin_xfer_dialog_hide(PidginXferDialog *dialog);
@@ -86,7 +100,10 @@
* @xfer: The file transfer.
* Adds a file transfer to the dialog.
void pidgin_xfer_dialog_add_xfer(PidginXferDialog *dialog, PurpleXfer *xfer);
@@ -95,7 +112,10 @@
* @xfer: The file transfer.
* Removes a file transfer from the dialog.
void pidgin_xfer_dialog_remove_xfer(PidginXferDialog *dialog,
@@ -105,7 +125,10 @@
* @xfer: The file transfer that was cancelled.
* Indicate in a file transfer dialog that a transfer was cancelled.
void pidgin_xfer_dialog_cancel_xfer(PidginXferDialog *dialog,
@@ -115,7 +138,10 @@
* @xfer: The file transfer.
* Updates the information for a transfer in the dialog.
void pidgin_xfer_dialog_update_xfer(PidginXferDialog *dialog,
@@ -127,14 +153,20 @@
* Initializes the GTK file transfer system.
void pidgin_xfers_init(void);
* Uninitializes the GTK file transfer system.
void pidgin_xfers_uninit(void);
@@ -142,7 +174,10 @@
* @dialog: The main dialog.
* Sets pidgin's main file transfer dialog.
void pidgin_set_xfer_dialog(PidginXferDialog *dialog);
@@ -151,7 +186,10 @@
* Returns pirgin's main file transfer dialog.
* Returns: (transfer none): The main dialog.
PidginXferDialog *pidgin_get_xfer_dialog(void);
@@ -160,7 +198,10 @@
* Returns the UI operations structure for the GTK file transfer UI.
* Returns: The GTK file transfer UI operations structure.
PurpleXferUiOps *pidgin_xfers_get_ui_ops(void);
--- a/pidgin/pidgincore.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/pidgincore.h Wed Nov 01 00:17:57 2023 -0500
@@ -30,6 +30,8 @@
+#include "pidginversion.h" # include "win32/gtkwin32dep.h"
@@ -39,7 +41,7 @@
/* Translators may want to transliterate the name.
It is not to be translated. */
-#define PIDGIN_NAME _("Pidgin")
+#define PIDGIN_NAME _("Pidgin") PIDGIN_AVAILABLE_MACRO_IN_2_1 --- a/pidgin/pidgindebug.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/pidgindebug.h Wed Nov 01 00:17:57 2023 -0500
@@ -28,6 +28,8 @@
+#include "pidginversion.h" #define PIDGIN_TYPE_DEBUG_WINDOW (pidgin_debug_window_get_type())
@@ -61,8 +63,9 @@
* Perform necessary initializations.
void pidgin_debug_init(void);
@@ -70,8 +73,9 @@
* Perform necessary uninitializations.
void pidgin_debug_uninit(void);
@@ -80,21 +84,30 @@
* Get the handle for the GTK debug system.
* Returns: the handle to the debug system
void *pidgin_debug_get_handle(void);
* pidgin_debug_window_show:
* Shows the debug window.
void pidgin_debug_window_show(void);
* pidgin_debug_window_hide:
* Hides the debug window.
void pidgin_debug_window_hide(void);
--- a/pidgin/pidginstatusbox.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/pidginstatusbox.h Wed Nov 01 00:17:57 2023 -0500
@@ -29,12 +29,18 @@
+#include "pidginversion.h" #define PIDGIN_TYPE_STATUS_BOX (pidgin_status_box_get_type ())
G_DECLARE_FINAL_TYPE(PidginStatusBox, pidgin_status_box, PIDGIN, STATUS_BOX,
GtkWidget *pidgin_status_box_new(void);
--- a/pidgin/pidginversion.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/pidginversion.h Wed Nov 01 00:17:57 2023 -0500
@@ -133,8 +133,12 @@
#if PIDGIN_VERSION_MAX_ALLOWED < PIDGIN_VERSION_2_1
#define PIDGIN_AVAILABLE_IN_2_1 PIDGIN_UNAVAILABLE(2, 1)
+#define PIDGIN_AVAILABLE_MACRO_IN_2_1 PIDGIN_UNAVAILABLE_MACRO(2, 1) +#define PIDGIN_AVAILABLE_TYPE_IN_2_1 PIDGIN_UNAVAILABLE_TYPE(2, 1) #define PIDGIN_AVAILABLE_IN_2_1 _PIDGIN_EXTERN
+#define PIDGIN_AVAILABLE_MACRO_IN_2_1 +#define PIDGIN_AVAILABLE_TYPE_IN_2_1 --- a/pidgin/prefs/pidginprefs.h Tue Oct 31 18:50:36 2023 -0500
+++ b/pidgin/prefs/pidginprefs.h Wed Nov 01 00:17:57 2023 -0500
@@ -31,6 +31,8 @@
+#include "pidginversion.h" #define PIDGIN_TYPE_PREFS_WINDOW (pidgin_prefs_window_get_type())
@@ -41,14 +43,20 @@
* Initializes all UI-specific preferences.
void pidgin_prefs_init(void);
* pidgin_prefs_update_old:
* Rename legacy prefs and delete some that no longer exist.
void pidgin_prefs_update_old(void);