AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/gtk/WebKitColorChooserRequest.cpp
/**
 * webkit_color_chooser_request_cancel:
 * @request: a #WebKitColorChooserRequest
 *
 * Cancels @request and the input element changes to use the initial color
 * it has before the request started.
 * The signal #WebKitColorChooserRequest::finished
 * is emitted to notify that the request has finished.
 *
 * Since: 2.8
 */


Cancels @request and the input element changes to use the initial color
it has before the request started.
The signal #WebKitColorChooserRequest::finished
is emitted to notify that the request has finished.


Cancels @request and the input element changes to use the initial color it has before the request started . The signal #WebKitColorChooserRequest :: finished is emitted to notify that the request has finished .
void webkit_color_chooser_request_cancel(WebKitColorChooserRequest* request)
{
    g_return_if_fail(WEBKIT_IS_COLOR_CHOOSER_REQUEST(request));
    if (request->priv->handled)
        return;
    request->priv->handled = true;
    request->priv->colorChooser->cancel();
    g_signal_emit(request, signals[FINISHED], 0);
}
void webkit_color_chooser_request_cancel ( WebKitColorChooserRequest * request ) { g_return_if_fail ( WEBKIT_IS_COLOR_CHOOSER_REQUEST ( request ) ) ; if ( request -> priv -> handled ) return ; request -> priv -> handled = true ; request -> priv -> colorChooser -> cancel ( ) ; g_signal_emit ( request , signals [ FINISHED ] , 0 ) ; }
webkit_color_chooser_request_cancel:
 @request: a #WebKitColorChooserRequest
webkit_color_chooser_request_cancel : @request : a #WebKitColorChooserRequest