[evolution-data-server/october-code-drop-post-api-change: 34/39] Cursor Example: s/E_CLIENT_ERROR_END_OF_LIST/E_CLIENT_ERROR_QUERY_REFUSED/g



commit c080a555feb3f0e27e2068a7ebc60326018f13ce
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Wed Oct 23 00:18:18 2013 +0200

    Cursor Example: s/E_CLIENT_ERROR_END_OF_LIST/E_CLIENT_ERROR_QUERY_REFUSED/g

 tests/cursor-example/cursor-example.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/cursor-example/cursor-example.c b/tests/cursor-example/cursor-example.c
index 6d71402..3250d8c 100644
--- a/tests/cursor-example/cursor-example.c
+++ b/tests/cursor-example/cursor-example.c
@@ -427,7 +427,7 @@ cursor_example_move_cursor (CursorExample     *example,
 
                } else if (g_error_matches (error,
                                            E_CLIENT_ERROR,
-                                           E_CLIENT_ERROR_END_OF_LIST)) {
+                                           E_CLIENT_ERROR_QUERY_REFUSED)) {
 
                        d (g_print ("End of list was reached\n"));
 
@@ -479,7 +479,7 @@ cursor_example_load_page (CursorExample     *example,
 
                } else if (g_error_matches (error,
                                            E_CLIENT_ERROR,
-                                           E_CLIENT_ERROR_END_OF_LIST)) {
+                                           E_CLIENT_ERROR_QUERY_REFUSED)) {
 
                        d (g_print ("End of list was reached\n"));
 


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