[gnome-software] trivial: Rename a function to make more obvious
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Rename a function to make more obvious
- Date: Thu, 14 Apr 2016 17:24:55 +0000 (UTC)
commit 5f74c1c8054fe9484bc1b64e1b91fee0b0bc68a4
Author: Richard Hughes <richard hughsie com>
Date: Thu Apr 14 12:03:39 2016 +0100
trivial: Rename a function to make more obvious
src/plugins/gs-plugin-dummy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/gs-plugin-dummy.c b/src/plugins/gs-plugin-dummy.c
index fc24ef4..01078ae 100644
--- a/src/plugins/gs-plugin-dummy.c
+++ b/src/plugins/gs-plugin-dummy.c
@@ -271,10 +271,10 @@ typedef struct {
} GsPluginDummyHelper;
/**
- * gs_plugin_dummy_refresh_cb:
+ * gs_plugin_dummy_delay_cb:
*/
static gboolean
-gs_plugin_dummy_refresh_cb (gpointer user_data)
+gs_plugin_dummy_delay_cb (gpointer user_data)
{
GsPluginDummyHelper *helper = (GsPluginDummyHelper *) user_data;
helper->percentage += 10;
@@ -333,7 +333,7 @@ gs_plugin_dummy_delay (GsPlugin *plugin,
helper->percentage = 0;
helper->plugin = plugin;
g_debug ("dummy waiting for %ims", timeout_ms);
- g_timeout_add (timeout_ms / 10, gs_plugin_dummy_refresh_cb, helper);
+ g_timeout_add (timeout_ms / 10, gs_plugin_dummy_delay_cb, helper);
g_main_loop_run (loop);
g_debug ("dummy done");
return helper->error != NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]