[devhelp] Book: rename private struct DhBookMonitorEvent -> BookMonitorEvent
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Book: rename private struct DhBookMonitorEvent -> BookMonitorEvent
- Date: Sun, 10 Dec 2017 09:42:31 +0000 (UTC)
commit 5b9e754e4bec8ef2d82e500bedb5d0361929d482
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Dec 10 10:20:51 2017 +0100
Book: rename private struct DhBookMonitorEvent -> BookMonitorEvent
With the Dh namespace we can think that it's a public struct.
src/dh-book.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/dh-book.c b/src/dh-book.c
index b98c401..cbfda72 100644
--- a/src/dh-book.c
+++ b/src/dh-book.c
@@ -54,7 +54,7 @@ typedef enum {
BOOK_MONITOR_EVENT_NONE,
BOOK_MONITOR_EVENT_UPDATED,
BOOK_MONITOR_EVENT_DELETED
-} DhBookMonitorEvent;
+} BookMonitorEvent;
typedef struct {
GFile *index_file;
@@ -75,7 +75,7 @@ typedef struct {
GFileMonitor *monitor;
/* Last received event. */
- DhBookMonitorEvent monitor_event;
+ BookMonitorEvent monitor_event;
guint monitor_event_timeout_id;
@@ -196,7 +196,7 @@ book_monitor_event_timeout_cb (gpointer data)
{
DhBook *book = data;
DhBookPrivate *priv = dh_book_get_instance_private (book);
- DhBookMonitorEvent monitor_event = priv->monitor_event;
+ BookMonitorEvent monitor_event = priv->monitor_event;
/* Reset event */
priv->monitor_event = BOOK_MONITOR_EVENT_NONE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]