diff -r 7988932faf91 -r d92defc9ba95 pidgin/gtkutils.h --- a/pidgin/gtkutils.h Thu Jul 22 22:32:11 2021 -0500 +++ b/pidgin/gtkutils.h Thu Jul 22 22:33:54 2021 -0500 @@ -416,73 +416,6 @@ gpointer pidgin_convert_buddy_icon(PurpleProtocol *protocol, const char *path, size_t *len); /** - * PidginUtilMiniDialogCallback: - * - * The type of callbacks passed to pidgin_make_mini_dialog(). - */ -typedef void (*PidginUtilMiniDialogCallback)(gpointer user_data, GtkButton *button); - -/** - * pidgin_make_mini_dialog: - * @handle: The #PurpleConnection to which this mini-dialog - * refers, or %NULL if it does not refer to a - * connection. If @handle is supplied, the mini-dialog - * will be automatically removed and destroyed when the - * connection signs off. - * @stock_id: The ID of a stock image to use in the mini dialog. - * @primary: The primary text - * @secondary: The secondary text, or %NULL for no description. - * @user_data: Data to pass to the callbacks - * @...: a %NULL-terminated list of button labels - * (char *) and callbacks - * (#PidginUtilMiniDialogCallback). @user_data will be - * passed as the first argument. (Callbacks may lack a - * second argument, or be %NULL to take no action when - * the corresponding button is pressed.) When a button is - * pressed, the callback (if any) will be called; when - * the callback returns the dialog will be destroyed. - * - * Creates a #PidginMiniDialog, tied to a #PurpleConnection, suitable for - * embedding in the buddy list scrollbook with pidgin_blist_add_alert(). - * - * See Stock Resources. - * - * Returns: (transfer full): A #PidginMiniDialog, suitable for passing to - * pidgin_blist_add_alert(). - */ -GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle, - const char* stock_id, const char *primary, const char *secondary, - void *user_data, ...) G_GNUC_NULL_TERMINATED; - -/** - * pidgin_make_mini_dialog_with_custom_icon: - * @custom_icon: A custom GdkPixbuf to use. - * @primary: The primary text - * @secondary: The secondary text, or %NULL for no description. - * @user_data: Data to pass to the callbacks - * @...: a %NULL-terminated list of button labels - * (char *) and callbacks - * (#PidginUtilMiniDialogCallback). @user_data will be - * passed as the first argument. (Callbacks may lack a - * second argument, or be %NULL to take no action when - * the corresponding button is pressed.) When a button is - * pressed, the callback (if any) will be called; when - * the callback returns the dialog will be destroyed. - * - * Does exactly what pidgin_make_mini_dialog() does, except you can specify - * a custom icon for the dialog. - * - * Returns: (transfer full): A #PidginMiniDialog, suitable for passing to - * pidgin_blist_add_alert(). - */ -GtkWidget *pidgin_make_mini_dialog_with_custom_icon(PurpleConnection *gc, - GdkPixbuf *custom_icon, - const char *primary, - const char *secondary, - void *user_data, - ...) G_GNUC_NULL_TERMINATED; - -/** * pidgin_tree_view_search_equal_func: * * This is a callback function to be used for Ctrl+F searching in treeviews.