[balsa] address-books: remove redundant declarations
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] address-books: remove redundant declarations
- Date: Mon, 27 May 2019 19:22:34 +0000 (UTC)
commit bf74bc477be1f0527aaea77c228af9ec52b6c576
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon May 27 15:22:08 2019 -0400
address-books: remove redundant declarations
Some cleanup from using G_DECLARE_{DERIVABLE,FINAL}_TYPE macros
* libbalsa/address-book-ldap.c:
* libbalsa/address-book-osmo.h:
* libbalsa/address-book-rubrica.c:
* libbalsa/address-book-text.c:
* libbalsa/address-book-vcard.c:
ChangeLog | 12 ++++++++++++
libbalsa/address-book-ldap.c | 3 ---
libbalsa/address-book-osmo.h | 2 --
libbalsa/address-book-rubrica.c | 6 ------
libbalsa/address-book-text.c | 5 -----
libbalsa/address-book-vcard.c | 4 ----
6 files changed, 12 insertions(+), 20 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8dc789676..81d648d16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2019-05-27 Peter Bloomfield <pbloomfield bellsouth net>
+
+ address-books: remove redundant declarations
+
+ Some cleanup from using G_DECLARE_{DERIVABLE,FINAL}_TYPE macros
+
+ * libbalsa/address-book-ldap.c:
+ * libbalsa/address-book-osmo.h:
+ * libbalsa/address-book-rubrica.c:
+ * libbalsa/address-book-text.c:
+ * libbalsa/address-book-vcard.c:
+
2019-05-27 Peter Bloomfield <pbloomfield bellsouth net>
Use G_DECLARE_FINAL_TYPE to declare LibBalsaAddressBookVcard
diff --git a/libbalsa/address-book-ldap.c b/libbalsa/address-book-ldap.c
index 6a1305884..303aeafa3 100644
--- a/libbalsa/address-book-ldap.c
+++ b/libbalsa/address-book-ldap.c
@@ -78,9 +78,6 @@ static char* complete_attrs[] = {
};
/* End of FIXME */
-static void
-libbalsa_address_book_ldap_class_init(LibBalsaAddressBookLdapClass * klass);
-static void libbalsa_address_book_ldap_init(LibBalsaAddressBookLdap * ab);
static void libbalsa_address_book_ldap_finalize(GObject * object);
static LibBalsaABErr libbalsa_address_book_ldap_load(LibBalsaAddressBook * ab,
diff --git a/libbalsa/address-book-osmo.h b/libbalsa/address-book-osmo.h
index a323763cc..c5de52b98 100644
--- a/libbalsa/address-book-osmo.h
+++ b/libbalsa/address-book-osmo.h
@@ -39,8 +39,6 @@ G_DECLARE_FINAL_TYPE(LibBalsaAddressBookOsmo,
ADDRESS_BOOK_OSMO,
LibBalsaAddressBook);
-GType libbalsa_address_book_osmo_get_type(void);
-
LibBalsaAddressBook *libbalsa_address_book_osmo_new(const gchar *name);
diff --git a/libbalsa/address-book-rubrica.c b/libbalsa/address-book-rubrica.c
index 60fd481e5..7be7fa414 100644
--- a/libbalsa/address-book-rubrica.c
+++ b/libbalsa/address-book-rubrica.c
@@ -45,12 +45,6 @@
#include <glib/gi18n.h>
-static void
-libbalsa_address_book_rubrica_class_init(LibBalsaAddressBookRubricaClass *
- klass);
-static void libbalsa_address_book_rubrica_init(LibBalsaAddressBookRubrica *
- ab_rubrica);
-
static LibBalsaABErr libbalsa_address_book_rubrica_load(LibBalsaAddressBook
* ab,
const gchar *
diff --git a/libbalsa/address-book-text.c b/libbalsa/address-book-text.c
index abb77b269..52c0dba99 100644
--- a/libbalsa/address-book-text.c
+++ b/libbalsa/address-book-text.c
@@ -44,11 +44,6 @@
/* FIXME: Arbitrary constant */
#define LINE_LEN 256
-static void
-libbalsa_address_book_text_class_init(LibBalsaAddressBookTextClass *
- klass);
-static void
-libbalsa_address_book_text_init(LibBalsaAddressBookText * ab_text);
static void
libbalsa_address_book_text_finalize(GObject * object);
diff --git a/libbalsa/address-book-vcard.c b/libbalsa/address-book-vcard.c
index f6cb44b3d..e6776fce9 100644
--- a/libbalsa/address-book-vcard.c
+++ b/libbalsa/address-book-vcard.c
@@ -39,10 +39,6 @@
/* FIXME: Arbitrary constant */
#define LINE_LEN 256
-static void
-libbalsa_address_book_vcard_class_init(LibBalsaAddressBookVcardClass *
- klass);
-
static LibBalsaABErr
libbalsa_address_book_vcard_parse_address(FILE * stream_in,
LibBalsaAddress * address_in,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]