[gnome-notes] Fix missing spaces
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] Fix missing spaces
- Date: Sun, 30 May 2021 20:15:35 +0000 (UTC)
commit 244b140d7e4d7a1672f14a7146eadee4c6e98395
Author: Kévin Commaille <zecakeh tedomum fr>
Date: Thu May 20 14:43:21 2021 +0200
Fix missing spaces
src/bjb-application.c | 2 +-
src/bjb-controller.c | 2 +-
src/libbiji/provider/biji-memo-provider.c | 5 ++---
src/libbiji/provider/biji-provider.c | 2 +-
4 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/bjb-application.c b/src/bjb-application.c
index 2297ebf5..d2226e7e 100644
--- a/src/bjb-application.c
+++ b/src/bjb-application.c
@@ -358,7 +358,7 @@ manager_ready_cb (GObject *source,
}
biji_manager_set_provider (self->manager,
- bjb_settings_get_default_location(self->settings));
+ bjb_settings_get_default_location (self->settings));
/* Automatic imports on startup */
if (self->first_run == TRUE)
diff --git a/src/bjb-controller.c b/src/bjb-controller.c
index 45ac17f8..d8e6547d 100644
--- a/src/bjb-controller.c
+++ b/src/bjb-controller.c
@@ -596,7 +596,7 @@ on_manager_changed (BijiManager *manager,
case BIJI_MANAGER_MASS_CHANGE:
bjb_controller_apply_needle (self);
/* This flag is only used when the provider changes so we should close the note. */
- bjb_window_base_load_note_item(self->window, NULL);
+ bjb_window_base_load_note_item (self->window, NULL);
g_timeout_add (1, (GSourceFunc) bjb_controller_set_window_active, self);
break;
diff --git a/src/libbiji/provider/biji-memo-provider.c b/src/libbiji/provider/biji-memo-provider.c
index 18b180fb..cb28b2dd 100644
--- a/src/libbiji/provider/biji-memo-provider.c
+++ b/src/libbiji/provider/biji-memo-provider.c
@@ -641,7 +641,7 @@ biji_memo_provider_finalize (GObject *object)
g_hash_table_unref (self->tracker);
g_hash_table_unref (self->items);
g_queue_free_full (self->queue, (GDestroyNotify) memo_item_free);
- g_object_unref(self->source);
+ g_object_unref (self->source);
G_OBJECT_CLASS (biji_memo_provider_parent_class)->finalize (object);
}
@@ -660,8 +660,7 @@ biji_memo_provider_set_property (GObject *object,
switch (property_id)
{
case PROP_SOURCE:
- self->source = g_value_get_object (value);
- g_object_ref(self->source);
+ self->source = g_value_dup_object (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
diff --git a/src/libbiji/provider/biji-provider.c b/src/libbiji/provider/biji-provider.c
index 4149d51b..299f03db 100644
--- a/src/libbiji/provider/biji-provider.c
+++ b/src/libbiji/provider/biji-provider.c
@@ -102,7 +102,7 @@ biji_provider_get_info (BijiProvider *provider)
void
-biji_provider_load_items (BijiProvider *provider)
+biji_provider_load_items (BijiProvider *provider)
{
return BIJI_PROVIDER_GET_CLASS (provider)->load_items (provider);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]