[devhelp] Preferences: rename toggle_cb() function
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Preferences: rename toggle_cb() function
- Date: Fri, 6 Apr 2018 06:38:28 +0000 (UTC)
commit f295638c853d57253444edcc8c493cb7d45de251
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Apr 6 08:18:42 2018 +0200
Preferences: rename toggle_cb() function
src/dh-preferences.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/dh-preferences.c b/src/dh-preferences.c
index 18e66e8..0ac47f5 100644
--- a/src/dh-preferences.c
+++ b/src/dh-preferences.c
@@ -513,9 +513,9 @@ bookshelf_book_deleted_cb (DhBookManager *book_manager,
}
static void
-bookshelf_tree_selection_toggled_cb (GtkCellRendererToggle *cell_renderer,
- gchar *path,
- DhPreferences *prefs)
+bookshelf_row_toggled_cb (GtkCellRendererToggle *cell_renderer,
+ gchar *path,
+ DhPreferences *prefs)
{
DhPreferencesPrivate *priv = dh_preferences_get_instance_private (prefs);
DhSettings *settings;
@@ -627,7 +627,7 @@ init_book_shelf_tab (DhPreferences *prefs)
g_signal_connect (priv->bookshelf_cell_renderer_toggle,
"toggled",
- G_CALLBACK (bookshelf_tree_selection_toggled_cb),
+ G_CALLBACK (bookshelf_row_toggled_cb),
prefs);
bookshelf_populate_store (prefs);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]