[devhelp: 15/16] App: remove dh_app_peek_book_manager()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp: 15/16] App: remove dh_app_peek_book_manager()
- Date: Mon, 1 May 2017 17:01:29 +0000 (UTC)
commit 60bdee1c890a7cbbdd57f4e4ecc501a91b926e75
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon May 1 18:39:34 2017 +0200
App: remove dh_app_peek_book_manager()
No longer used by Devhelp itself, and is neither used by Anjuta nor
gnome-builder.
docs/reference/devhelp-sections.txt | 1 -
src/dh-app.c | 14 --------------
src/dh-app.h | 3 ---
3 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/docs/reference/devhelp-sections.txt b/docs/reference/devhelp-sections.txt
index f4964f8..59bcd77 100644
--- a/docs/reference/devhelp-sections.txt
+++ b/docs/reference/devhelp-sections.txt
@@ -9,7 +9,6 @@ dh_init
<TITLE>DhApp</TITLE>
DhApp
dh_app_new
-dh_app_peek_book_manager
dh_app_peek_first_window
dh_app_peek_assistant
dh_app_new_window
diff --git a/src/dh-app.c b/src/dh-app.c
index 2b1366b..05fc3db 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -31,20 +31,6 @@
G_DEFINE_TYPE (DhApp, dh_app, GTK_TYPE_APPLICATION);
/**
- * dh_app_peek_book_manager:
- * @app: a #DhApp object
- *
- * Get the associated #DhBookManager.
- *
- * Returns: (transfer none): the book manager associated with this
- */
-DhBookManager *
-dh_app_peek_book_manager (DhApp *app)
-{
- return dh_book_manager_get_singleton ();
-}
-
-/**
* dh_app_peek_first_window:
* @app: a #DhApp object
*
diff --git a/src/dh-app.h b/src/dh-app.h
index 43b5174..faceabd 100644
--- a/src/dh-app.h
+++ b/src/dh-app.h
@@ -21,8 +21,6 @@
#include <gtk/gtk.h>
-#include "dh-book-manager.h"
-
G_BEGIN_DECLS
#define DH_TYPE_APP (dh_app_get_type ())
@@ -47,7 +45,6 @@ GType dh_app_get_type (void) G_GNUC_CONST;
DhApp *dh_app_new (void);
-DhBookManager *dh_app_peek_book_manager (DhApp *app);
GtkWindow *dh_app_peek_first_window (DhApp *app);
GtkWindow *dh_app_peek_assistant (DhApp *app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]