colordialog: Improve the docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 30 Nov 2022 00:58:44 +0000 (19:58 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Dec 2022 16:05:48 +0000 (11:05 -0500)
Be more specific about possible errors.

gtk/gtkcolordialog.c

index b9605d173a39215299884848ffb92c199b6dd67b..3d027335999ac6bc4a98567a93901e804c4950c6 100644 (file)
@@ -473,7 +473,7 @@ gtk_color_dialog_choose_rgba (GtkColorDialog       *self,
  * gtk_color_dialog_choose_rgba_finish:
  * @self: a `GtkColorDialog`
  * @result: a `GAsyncResult`
- * @error: return location for an error
+ * @error: return location for a [enum@Gtk.DialogError] error
  *
  * Finishes the [method@Gtk.ColorDialog.choose_rgba] call and
  * returns the resulting color.