Changeset 148914 in webkit


Ignore:
Timestamp:
Apr 22, 2013 2:54:02 PM (11 years ago)
Author:
Martin Robinson
Message:

[GTK] Fix remaining introspection warnings
https://bugs.webkit.org/show_bug.cgi?id=114980

Reviewed by Gustavo Noronha Silva.

Source/WebCore:

  • bindings/gobject/WebKitDOMCustom.h: Add scope and transfer annotations and flesh

out gtkdoc for completeness.

  • bindings/gobject/WebKitDOMEventTarget.h:

(_WebKitDOMEventTargetIface): Ditto and also align virtual method names with those used
for the concrete ones.

Source/WebKit/gtk:

  • webkit/webkitspellchecker.h:

(_WebKitSpellCheckerInterface): Align the name of the check_spelling_of_string virtual
method with the concrete method to avoid a g-ir-scanner warning.

  • webkit/webkitversion.h.in: Skip WEBKITGTK_API_VERSION for introspection because it

doesn't follow the appropriate namespace name.

Location:
trunk/Source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148912 r148914  
     12013-04-22  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Fix remaining introspection warnings
     4        https://bugs.webkit.org/show_bug.cgi?id=114980
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * bindings/gobject/WebKitDOMCustom.h: Add scope and transfer annotations and flesh
     9        out gtkdoc for completeness.
     10        * bindings/gobject/WebKitDOMEventTarget.h:
     11        (_WebKitDOMEventTargetIface): Ditto and also align virtual method names with those used
     12        for the concrete ones.
     13
    1142013-04-22  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMCustom.h

    r137329 r148914  
    2525G_BEGIN_DECLS
    2626
    27 WEBKIT_API gboolean webkit_dom_html_text_area_element_is_edited(WebKitDOMHTMLTextAreaElement*);
    28 WEBKIT_API gboolean webkit_dom_html_input_element_is_edited(WebKitDOMHTMLInputElement*);
     27/**
     28 * webkit_dom_html_text_area_element_is_edited:
     29 * @input: A #WebKitDOMHTMLTextAreaElement
     30 *
     31 */
     32WEBKIT_API gboolean webkit_dom_html_text_area_element_is_edited(WebKitDOMHTMLTextAreaElement* input);
    2933
    30 /* Compatibility */
     34/**
     35 * webkit_dom_html_input_element_is_edited:
     36 * @input: A #WebKitDOMHTMLInputElement
     37 *
     38 */
     39WEBKIT_API gboolean webkit_dom_html_input_element_is_edited(WebKitDOMHTMLInputElement* input);
     40
     41/**
     42 * webkit_dom_blob_webkit_slice:
     43 * @self: A #WebKitDOMBlob
     44 * @start: A #gint64
     45 * @end: A #gint64
     46 * @content_type: A #gchar
     47 *
     48 * Returns: (transfer none):
     49 */
    3150WEBKIT_API WebKitDOMBlob* webkit_dom_blob_webkit_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type);
     51
     52/**
     53 * webkit_dom_html_element_get_class_name:
     54 * @element: A #WebKitDOMHTMLElement
     55 *
     56 * Returns:
     57 *
     58 */
    3259WEBKIT_API gchar* webkit_dom_html_element_get_class_name(WebKitDOMHTMLElement* element);
     60
     61/**
     62 * webkit_dom_html_element_set_class_name:
     63 * @element: A #WebKitDOMHTMLElement
     64 * @value: A #gchar
     65 *
     66 */
    3367WEBKIT_API void webkit_dom_html_element_set_class_name(WebKitDOMHTMLElement* element, const gchar* value);
     68
     69/**
     70 * webkit_dom_html_element_get_class_list:
     71 * @element: A #WebKitDOMHTMLElement
     72 *
     73 * Returns: (transfer none):
     74 *
     75 */
    3476WEBKIT_API WebKitDOMDOMTokenList* webkit_dom_html_element_get_class_list(WebKitDOMHTMLElement* element);
     77
     78/**
     79 * webkit_dom_html_form_element_dispatch_form_change:
     80 * @self: A #WebKitDOMHTMLFormElement
     81 *
     82 */
    3583WEBKIT_API void webkit_dom_html_form_element_dispatch_form_change(WebKitDOMHTMLFormElement* self);
     84
     85/**
     86 * webkit_dom_html_form_element_dispatch_form_input:
     87 * @self: A #WebKitDOMHTMLFormElement
     88 *
     89 */
    3690WEBKIT_API void webkit_dom_html_form_element_dispatch_form_input(WebKitDOMHTMLFormElement* self);
     91
     92/**
     93 * webkit_dom_webkit_named_flow_get_overflow:
     94 * @flow: A #WebKitDOMWebKitNamedFlow
     95 *
     96 * Returns:
     97 *
     98 */
    3799WEBKIT_API gboolean webkit_dom_webkit_named_flow_get_overflow(WebKitDOMWebKitNamedFlow* flow);
     100
     101/**
     102 * webkit_dom_element_get_webkit_region_overflow:
     103 * @element: A #WebKitDOMElement
     104 *
     105 * Returns:
     106 *
     107 */
    38108WEBKIT_API gchar* webkit_dom_element_get_webkit_region_overflow(WebKitDOMElement* element);
    39 WEBKIT_API WebKitDOMNodeList* webkit_dom_webkit_named_flow_get_content_nodes(WebKitDOMWebKitNamedFlow* namedFlow);
    40 WEBKIT_API WebKitDOMNodeList* webkit_dom_webkit_named_flow_get_regions_by_content_node(WebKitDOMWebKitNamedFlow* namedFlow, WebKitDOMNode* contentNode);
     109
     110/**
     111 * webkit_dom_webkit_named_flow_get_content_nodes:
     112 * @flow: A #WebKitDOMWebKitNamedFlow
     113 *
     114 * Returns: (transfer none):
     115 *
     116 */
     117WEBKIT_API WebKitDOMNodeList* webkit_dom_webkit_named_flow_get_content_nodes(WebKitDOMWebKitNamedFlow* flow);
     118
     119/**
     120 * webkit_dom_webkit_named_flow_get_regions_by_content_node:
     121 * @flow: A #WebKitDOMWebKitNamedFlow
     122 * @content_node: A #WebKitDOMNode
     123 *
     124 * Returns: (transfer none):
     125 *
     126 */
     127WEBKIT_API WebKitDOMNodeList* webkit_dom_webkit_named_flow_get_regions_by_content_node(WebKitDOMWebKitNamedFlow* flow, WebKitDOMNode* content_node);
    41128
    42129G_END_DECLS
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMEventTarget.h

    r137329 r148914  
    4242
    4343    gboolean      (* add_event_listener)(WebKitDOMEventTarget *target,
    44                                          const char          *eventName,
     44                                         const char           *event_name,
    4545                                         GCallback             handler,
    4646                                         gboolean              bubble,
    47                                          gpointer              userData);
     47                                         gpointer              user_data);
    4848    gboolean      (* remove_event_listener)(WebKitDOMEventTarget *target,
    49                                             const char           *eventName,
     49                                            const char           *event_name,
    5050                                            GCallback             handler,
    5151                                            gboolean              bubble);
     
    5959                                                            GError              **error);
    6060
     61/**
     62 * webkit_dom_event_target_add_event_listener:
     63 * @target: A #WebKitDOMEventTarget
     64 * @event_name: A #gchar
     65 * @handler: (scope async): A #GCallback
     66 * @bubble: A #gboolean
     67 * @user_data: A #gpointer
     68 *
     69 */
    6170WEBKIT_API gboolean  webkit_dom_event_target_add_event_listener(WebKitDOMEventTarget *target,
    62                                                                 const char           *eventName,
     71                                                                const char           *event_name,
    6372                                                                GCallback             handler,
    6473                                                                gboolean              bubble,
    65                                                                 gpointer              userData);
     74                                                                gpointer              user_data);
    6675
     76/**
     77 * webkit_dom_event_target_remove_event_listener:
     78 * @target: A #WebKitDOMEventTarget
     79 * @event_name: A #gchar
     80 * @handler: (scope call): A #GCallback
     81 * @bubble: A #gboolean
     82 *
     83 */
    6784WEBKIT_API gboolean  webkit_dom_event_target_remove_event_listener(WebKitDOMEventTarget *target,
    68                                                                    const char           *eventName,
     85                                                                   const char           *event_name,
    6986                                                                   GCallback             handler,
    7087                                                                   gboolean              bubble);
  • trunk/Source/WebKit/gtk/ChangeLog

    r148903 r148914  
     12013-04-22  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Fix remaining introspection warnings
     4        https://bugs.webkit.org/show_bug.cgi?id=114980
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * webkit/webkitspellchecker.h:
     9        (_WebKitSpellCheckerInterface): Align the name of the check_spelling_of_string virtual
     10        method with the concrete method to avoid a g-ir-scanner warning.
     11        * webkit/webkitversion.h.in: Skip WEBKITGTK_API_VERSION for introspection because it
     12        doesn't follow the appropriate namespace name.
     13
    1142013-04-22  Zan Dobersek  <zdobersek@igalia.com>
    215
  • trunk/Source/WebKit/gtk/webkit/webkitspellchecker.h

    r98677 r148914  
    3434    GTypeInterface g_iface;
    3535
    36     void   (*check_spelling_of_string)                        (WebKitSpellChecker* checker, const char* word, int* misspelling_location, int* misspelling_length);
     36    void   (*check_spelling_of_string)                        (WebKitSpellChecker* checker, const char* string, int* misspelling_location, int* misspelling_length);
    3737    char** (*get_guesses_for_word)                            (WebKitSpellChecker* checker, const char* word, const char* context);
    3838    void   (*update_spell_checking_languages)                 (WebKitSpellChecker* checker, const char* languages);
  • trunk/Source/WebKit/gtk/webkit/webkitversion.h.in

    r64752 r148914  
    3131#define WEBKIT_USER_AGENT_MAJOR_VERSION (@WEBKIT_USER_AGENT_MAJOR_VERSION@)
    3232#define WEBKIT_USER_AGENT_MINOR_VERSION (@WEBKIT_USER_AGENT_MINOR_VERSION@)
     33
     34/**
     35 * WEBKITGTK_API_VERSION: (skip)
     36 */
    3337#define WEBKITGTK_API_VERSION (@WEBKITGTK_API_VERSION@)
    3438
Note: See TracChangeset for help on using the changeset viewer.