[balsa] assistant_init: Do not export balsa_initdruid
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] assistant_init: Do not export balsa_initdruid
- Date: Wed, 14 Oct 2020 20:19:30 +0000 (UTC)
commit a28711342f02839b3b0441264d4404abf3b79ef5
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Oct 14 16:18:00 2020 -0400
assistant_init: Do not export balsa_initdruid
No one needs it, nor should they
libinit_balsa/assistant_init.c | 5 +----
libinit_balsa/assistant_init.h | 1 -
2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/libinit_balsa/assistant_init.c b/libinit_balsa/assistant_init.c
index 6ebc426ec..bce6509ce 100644
--- a/libinit_balsa/assistant_init.c
+++ b/libinit_balsa/assistant_init.c
@@ -101,12 +101,9 @@ balsa_initdruid_apply(GtkAssistant * druid)
gtk_main_quit();
}
-void
+static void
balsa_initdruid(GtkAssistant * assistant)
{
- g_return_if_fail(assistant != NULL);
- g_return_if_fail(GTK_IS_ASSISTANT(assistant));
-
g_signal_connect(assistant, "cancel",
G_CALLBACK(balsa_initdruid_cancel), NULL);
g_signal_connect(assistant, "close",
diff --git a/libinit_balsa/assistant_init.h b/libinit_balsa/assistant_init.h
index cea7120a3..bfc4a0b7f 100644
--- a/libinit_balsa/assistant_init.h
+++ b/libinit_balsa/assistant_init.h
@@ -30,7 +30,6 @@ G_BEGIN_DECLS
/*
* Public methods
*/
- void balsa_initdruid(GtkAssistant * assistant);
void balsa_init_begin( void );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]