[devhelp/wip/swilmet/maintenance: 1/3] book-manager: spring clean-up
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/maintenance: 1/3] book-manager: spring clean-up
- Date: Sat, 23 May 2015 18:19:01 +0000 (UTC)
commit 8036e2e363530eee2e764778cd048367f815cf05
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat May 23 19:54:42 2015 +0200
book-manager: spring clean-up
- remove useless function prototypes
- misc other clean-up
src/dh-book-manager.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/dh-book-manager.c b/src/dh-book-manager.c
index c0362d3..59656d0 100644
--- a/src/dh-book-manager.c
+++ b/src/dh-book-manager.c
@@ -71,9 +71,6 @@ static gint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE_WITH_PRIVATE (DhBookManager, dh_book_manager, G_TYPE_OBJECT);
-static void dh_book_manager_init (DhBookManager *book_manager);
-static void dh_book_manager_class_init (DhBookManagerClass *klass);
-
static void book_manager_load_books_disabled (DhBookManager *book_manager);
static void book_manager_add_from_filepath (DhBookManager *book_manager,
@@ -189,8 +186,8 @@ dh_book_manager_class_init (DhBookManagerClass *klass)
g_object_class_install_property (object_class,
PROP_GROUP_BY_LANGUAGE,
g_param_spec_boolean ("group-by-language",
- ("Group by language"),
- ("TRUE if books should be grouped by
language"),
+ "Group by language",
+ "TRUE if books should be grouped by language",
FALSE,
(G_PARAM_READWRITE |
G_PARAM_STATIC_NAME |
@@ -211,8 +208,10 @@ dh_book_manager_init (DhBookManager *book_manager)
book_manager_load_books_disabled (book_manager);
g_settings_bind (dh_settings_peek_contents_settings (priv->settings),
- "group-books-by-language", book_manager,
- "group-by-language", G_SETTINGS_BIND_DEFAULT);
+ "group-books-by-language",
+ book_manager,
+ "group-by-language",
+ G_SETTINGS_BIND_DEFAULT);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]