[evolution-data-server/openismus-work-3-8] Cursor Example: s/E_CLIENT_ERROR_END_OF_LIST/E_CLIENT_ERROR_QUERY_REFUSED/g



commit e8eb5f50be8099a02fe63a1edfeb4b8d64af17da
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]