summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2021-02-12 15:22:17 +1300
committerRobert Ancell <robert.ancell@canonical.com>2021-02-15 10:34:32 +1300
commit81392210f2ea100e1bdd0111d929769082fc8391 (patch)
treee7db4bba8317327f2d518102c0fcd308192eada9
parent797c36dc0abdd4c120efc6b490c231ade22f7a66 (diff)
downloadgnome-control-center-81392210f2ea100e1bdd0111d929769082fc8391.tar.gz
printers: Add note about callback that passed ownership
-rw-r--r--panels/printers/pp-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/panels/printers/pp-utils.h b/panels/printers/pp-utils.h
index 34762ff33..f1d840ffc 100644
--- a/panels/printers/pp-utils.h
+++ b/panels/printers/pp-utils.h
@@ -218,6 +218,7 @@ void printer_get_ppd_async (const gchar *printer_name,
PGPCallback callback,
gpointer user_data);
+/* NOTE: 'destination' is passed with ownership as cupsCopyDest doesn't seem to work as expected */
typedef void (*GNDCallback) (cups_dest_t *destination,
gpointer user_data);