Remove PidginWindow as it wasn't used and clean up some old PidginWindow -> PidginConvWindow that were previous missed.
Testing Done:
Compiled, built the pidgin docs, and pidgin.pot.
Reviewed at https://reviews.imfreedom.org/r/826/
--- a/doc/reference/pidgin/pidgin-docs.xml Thu Jul 22 22:34:48 2021 -0500
+++ b/doc/reference/pidgin/pidgin-docs.xml Thu Jul 22 22:37:16 2021 -0500
@@ -87,7 +87,6 @@
<xi:include href="xml/pidginstock.xml" />
<xi:include href="xml/pidginstylecontext.xml" />
<xi:include href="xml/pidgintalkatu.xml" />
- <xi:include href="xml/pidginwindow.xml" />
--- a/doc/reference/pidgin/signals_gtkconv.xml Thu Jul 22 22:34:48 2021 -0500
+++ b/doc/reference/pidgin/signals_gtkconv.xml Thu Jul 22 22:37:16 2021 -0500
@@ -25,8 +25,8 @@
<refsect2 id="gtkconvs-conversation-dragging" role="signal">
<title>The <literal>"conversation-dragging"</literal> signal</title>
-void user_function (PidginWindow *source,
- PidginWindow *destination,
+void user_function (PidginConvWindow *source, + PidginConvWindow *destination, --- a/pidgin/glade/pidgin3.xml.in Thu Jul 22 22:34:48 2021 -0500
+++ b/pidgin/glade/pidgin3.xml.in Thu Jul 22 22:37:16 2021 -0500
@@ -20,7 +20,6 @@
<glade-widget-class name="PidginProtocolStore" generic-name="protocol_store" title="ProtocolStore"/>
<glade-widget-class name="PidginScrollBook" generic-name="scroll_book" title="ScrollBook"/>
<glade-widget-class name="PidginStatusBox" generic-name="status_box" title="StatusBox"/>
- <glade-widget-class name="PidginWindow" generic-name="window" title="Window"/>
<glade-widget-group name="pidgin" title="Pidgin">
<glade-widget-class-ref name="PidginAccountChooser"/>
@@ -42,6 +41,5 @@
<glade-widget-class-ref name="PidginProtocolStore"/>
<glade-widget-class-ref name="PidginScrollBook"/>
<glade-widget-class-ref name="PidginStatusBox"/>
- <glade-widget-class-ref name="PidginWindow"/>
--- a/pidgin/gtkblist.c Thu Jul 22 22:34:48 2021 -0500
+++ b/pidgin/gtkblist.c Thu Jul 22 22:37:16 2021 -0500
@@ -52,7 +52,6 @@
#include "pidgin/pidginplugininfo.h"
#include "pidginscrollbook.h"
#include "pidgin/pidginstylecontext.h"
-#include "pidgin/pidginwindow.h"
#include <gdk/gdkkeysyms.h>
--- a/pidgin/gtkconv.c Thu Jul 22 22:34:48 2021 -0500
+++ b/pidgin/gtkconv.c Thu Jul 22 22:37:16 2021 -0500
@@ -64,7 +64,6 @@
#include "pidginpresenceicon.h"
#include "pidginstylecontext.h"
-#include "pidginwindow.h"
#define ADD_MESSAGE_HISTORY_AT_ONCE 100
--- a/pidgin/meson.build Thu Jul 22 22:34:48 2021 -0500
+++ b/pidgin/meson.build Thu Jul 22 22:37:16 2021 -0500
@@ -62,7 +62,6 @@
'prefs/pidgincredentialproviderrow.c',
'prefs/pidgincredentialspage.c',
@@ -133,7 +132,6 @@
libpidgin_prefs_headers = [
--- a/pidgin/pidginwindow.c Thu Jul 22 22:34:48 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
- * Pidgin is the legal property of its developers, whose names are too numerous
- * to list here. Please refer to the COPYRIGHT file distributed with this
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <https://www.gnu.org/licenses/>.
-#include <glib/gi18n-lib.h>
-#include "pidginwindow.h"
-/******************************************************************************
- * GObject Implementation
- *****************************************************************************/
-G_DEFINE_TYPE(PidginWindow, pidgin_window, GTK_TYPE_WINDOW)
-pidgin_window_init(PidginWindow *button) {
-pidgin_window_class_init(PidginWindowClass *klass) {
-/******************************************************************************
- *****************************************************************************/
-pidgin_window_new(const gchar *title, guint border_width, const gchar *role,
- title = PIDGIN_ALERT_TITLE;
- return GTK_WIDGET(g_object_new(
- "border-width", border_width,
- "resizable", resizable,
--- a/pidgin/pidginwindow.h Thu Jul 22 22:34:48 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
- * Pidgin is the legal property of its developers, whose names are too numerous
- * to list here. Please refer to the COPYRIGHT file distributed with this
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <https://www.gnu.org/licenses/>.
-#if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
-# error "only <pidgin.h> may be included directly"
- * @section_id: pidgin-window
- * @short_description: A base window widget.
- * #PidginWindow is a transitional widget as we slowly migrate everything to
-#define PIDGIN_TYPE_WINDOW (pidgin_window_get_type())
-G_DECLARE_FINAL_TYPE(PidginWindow, pidgin_window, PIDGIN,
- * @title: The window title, or %NULL.
- * @border_width: The window's desired border width.
- * @role: A string indicating what the window is responsible for doing, or
- * @resizable: Whether the window should be resizable.
- * Creates a new #PidginWindow instance.
- * Returns: (transfer full): The new #PidginWindow instance.
-GtkWidget *pidgin_window_new(const gchar *title, guint border_width, const gchar *role, gboolean resizable);
-#endif /* PIDGIN_WINDOW_H */
--- a/po/POTFILES.in Thu Jul 22 22:34:48 2021 -0500
+++ b/po/POTFILES.in Thu Jul 22 22:37:16 2021 -0500
@@ -375,7 +375,6 @@
pidgin/pidginstylecontext.c
pidgin/plugins/disco/gtkdisco.c
pidgin/plugins/disco/resources/disco.ui
pidgin/plugins/disco/xmppdisco.c