daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Oct 18th, 2018 67 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. GArray *event_ids;
  2. GError *error;
  3.  
  4. error = NULL;
  5. zeitgeist_log_insert_events_finish (log, res, &error);
  6. event_ids = g_async_result_get_user_data (res);
  7. if (error)
  8.   {
  9.     g_critical ("Failed to insert events: %s", error->message);
  10.     g_error_free (error);
  11.     return;
  12.   }
  13. g_assert_cmpint (expected_events->len, ==, event_ids->len);
  14. printf("======> %u\n", g_array_index (event_ids, int, 0));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top