[bijiben] _import_notes : rename argument



commit e3047a4a6a7bcaf217aed10857751b0a6a7bb529
Author: Chunyang Xu <xuchunyang56 gmail com>
Date:   Tue Aug 19 23:22:38 2014 +0200

    _import_notes : rename argument
    
    Use uri instead of path or location
    See 734817

 src/bjb-bijiben.c |    6 +++---
 src/bjb-bijiben.h |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/bjb-bijiben.c b/src/bjb-bijiben.c
index e157fa7..5f3f93e 100644
--- a/src/bjb-bijiben.c
+++ b/src/bjb-bijiben.c
@@ -237,13 +237,13 @@ bijiben_init (Bijiben *self)
 
 
 void
-bijiben_import_notes (Bijiben *self, gchar *location)
+bijiben_import_notes (Bijiben *self, gchar *uri)
 {
   g_debug ("IMPORT to %s", bjb_settings_get_default_location (self->priv->settings));
 
   biji_manager_import_uri (self->priv->manager,
-                             bjb_settings_get_default_location (self->priv->settings),
-                             location);
+                           bjb_settings_get_default_location (self->priv->settings),
+                           uri);
 }
 
 
diff --git a/src/bjb-bijiben.h b/src/bjb-bijiben.h
index ba428c4..731a9aa 100644
--- a/src/bjb-bijiben.h
+++ b/src/bjb-bijiben.h
@@ -62,7 +62,7 @@ BjbSettings * bjb_app_get_settings(gpointer application);
 // Windows
 void bijiben_new_window_for_note (GApplication *app, BijiNoteObj *note);
 
-void bijiben_import_notes (Bijiben *self, gchar *path);
+void bijiben_import_notes (Bijiben *self, gchar *uri);
 
 G_END_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]