[Webkit-unassigned] [Bug 39102] [GTK] eventSender.contextClick() should return the contents of the context menu

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 15 08:47:34 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39102


Eric Carlson <eric.carlson at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.carlson at apple.com




--- Comment #6 from Eric Carlson <eric.carlson at apple.com>  2010-09-15 08:47:34 PST ---
(In reply to comment #5)
> Well I don't think it's leaked but I'm very new to this JSValue stuff :)
> 
> /*!
> @function
> @abstract       Creates a JavaScript value of the string type.
> @param ctx  The execution context to use.
> @param string   The JSString to assign to the newly created JSValue. The
>  newly created JSValue retains string, and releases it upon garbage collection.
> @result         A JSValue of the string type, representing the value of string.
> */
> JS_EXPORT JSValueRef JSValueMakeString(JSContextRef ctx, JSStringRef string);
> 
Right, I mean the array of gchar*s you allocate with g_strdup:

> +                label = g_strdup("<separator>");
> +                label = g_strdup(gtk_menu_item_get_label(GTK_MENU_ITEM(item->data)));

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list