summaryrefslogtreecommitdiff
path: root/src/completion.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-06-29 17:32:25 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-06-29 17:32:25 +0200
commit2660884d197248285ce9135597ba2c4fd3622911 (patch)
treea9760c29d06b28af5c5a57921a0a368e5777fb7f /src/completion.c
parentedf59d3b33b3b46dbac1431057dccf702ce732f4 (diff)
Renamed update into move_cursor.
Diffstat (limited to 'src/completion.c')
-rw-r--r--src/completion.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/completion.c b/src/completion.c
index fa02459..e109817 100644
--- a/src/completion.c
+++ b/src/completion.c
@@ -41,7 +41,7 @@ static struct {
static gboolean init_completion(GList *source);
static void show(void);
-static void update(gboolean back);
+static void move_cursor(gboolean back);
static gboolean tree_selection_func(GtkTreeSelection *selection,
GtkTreeModel *model, GtkTreePath *path, gboolean selected, gpointer data);
@@ -58,7 +58,7 @@ gboolean completion_complete(gboolean back)
if (vb.state.mode & VB_MODE_COMPLETE) {
if (comp.text && !strcmp(input, comp.text)) {
/* step through the next/prev completion item */
- update(back);
+ move_cursor(back);
return true;
}
/* if current input isn't the content of the completion item, stop
@@ -219,7 +219,7 @@ static void show(void)
gtk_tree_path_free(path);
}
-static void update(gboolean back)
+static void move_cursor(gboolean back)
{
int rows;
GtkTreePath *path;