[Webkit-unassigned] [Bug 71568] [GTK] Add a way to change web view settings in MiniBrowser
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 2 04:30:21 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=71568
--- Comment #10 from Carlos Garcia Campos <cgarcia at igalia.com> 2012-01-02 04:30:21 PST ---
(From update of attachment 120663)
View in context: https://bugs.webkit.org/attachment.cgi?id=120663&action=review
>> Tools/MiniBrowser/gtk/BrowserCellRendererVariant.c:65
>> + g_object_unref(renderer->toggleRenderer);
>
> Shouldn't textRenderer and spinRenderer be unreffed here as well?
Indeed.
>> Tools/MiniBrowser/gtk/BrowserCellRendererVariant.c:186
>> + if (errno || value > gtk_adjustment_get_upper(adjustment) || value < gtk_adjustment_get_lower(adjustment) || endPtr == newText)
>
> Maybe it'd be good to emit a warning in this case?
You mean g_warning()?
>> Tools/MiniBrowser/gtk/BrowserCellRendererVariant.c:193
>> +static gint browserCellRendererVariantCellRendererActivate(GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *bgArea, const GdkRectangle *cellArea, GtkCellRendererState flags)
>
> Just a nit, but shouldn't the return type be gboolean?
Right, I don't know why I used gint there :-P Thanks!
--
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