Phosh.DBusScreenshot.complete_pick_color

### Method

# Phosh DBusScreenshotcomplete_pick_color

#### Declaration [src]

    void
    phosh_dbus_screenshot_complete_pick_color (
      PhoshDBusScreenshot* object,
      GDBusMethodInvocation* invocation,
      GVariant* result
    )

#### Description [src]

Helper function used in service implementations to finish handling invocations of the PickColor() D-Bus method. If you instead want to finish handling an invocation by returning an error, use `g_dbus_method_invocation_return_error()` or similar.

This method will free `invocation`, you cannot use it afterwards.

#### Parameters

`invocation`

  Type: `GDBusMethodInvocation`

  A `GDBusMethodInvocation`.

  The instance takes ownership of the data, and is responsible for freeing it.

`result`

  Type: `GVariant`

  Parameter to return.

  The data is owned by the caller of the method.