patch-libupower-glib_up-client_h 633 B

12345678910111213141516
  1. $OpenBSD: patch-libupower-glib_up-client_h,v 1.1 2016/09/01 10:11:47 landry Exp $
  2. Backport https://cgit.freedesktop.org/upower/patch/?id=932a6a39e35754be571e1274aec4730fd42dba13
  3. https://bugs.freedesktop.org/show_bug.cgi?id=95350
  4. --- libupower-glib/up-client.h.orig Wed Apr 22 11:57:08 2015
  5. +++ libupower-glib/up-client.h Wed Aug 31 12:31:10 2016
  6. @@ -72,6 +72,7 @@ typedef struct
  7. /* general */
  8. GType up_client_get_type (void);
  9. UpClient *up_client_new (void);
  10. +UpClient *up_client_new_full (GCancellable *cancellable, GError **error);
  11. /* sync versions */
  12. UpDevice * up_client_get_display_device (UpClient *client);