[libgames-support] scores: Rename Context.request_category() to Context.category_request()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] scores: Rename Context.request_category() to Context.category_request()
- Date: Mon, 23 Feb 2015 15:17:29 +0000 (UTC)
commit ff5f3d45a8f8d8e4ca2075457d07047babd82253
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Feb 23 09:12:04 2015 -0600
scores: Rename Context.request_category() to Context.category_request()
https://bugzilla.gnome.org/show_bug.cgi?id=744988
scores/context.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/scores/context.vala b/scores/context.vala
index a4d2e1f..15e2907 100644
--- a/scores/context.vala
+++ b/scores/context.vala
@@ -54,7 +54,7 @@ public class Context : Object
};
/* A signal that asks the game to provide the Category given the category key. This is mainly used to
fetch category names. */
- public signal Category? request_category (string category_key);
+ public signal Category? category_request (string category_key);
public Context (string app_name, string dialog_label, Gtk.Window? game_window, Style style)
{
@@ -227,14 +227,14 @@ public class Context : Object
while ((file_info = enumerator.next_file ()) != null)
{
var category_key = file_info.get_name ();
- var category = request_category (category_key);
+ var category = category_request (category_key);
if (category == null)
{
warning ("GamesScoresContext requested a GamesScoresCategory for the " +
"category %s, but the application did not supply any " +
"GamesScoresCategory. Scores will not be loaded. You should " +
- "connect to GamesScoresContext::request-category to supply " +
+ "connect to GamesScoresContext::category-request to supply " +
"a GamesScoresCategory.", category_key);
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]