Bug 21391 - [Gtk] Invalid cast from GdkWindow to GtkWidget
Summary: [Gtk] Invalid cast from GdkWindow to GtkWidget
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2008-10-05 14:26 PDT by Jan Alonzo
Modified: 2008-10-05 14:50 PDT (History)
0 users

See Also:


Attachments
fixed a misplaced closing parenthesis (1.19 KB, patch)
2008-10-05 14:31 PDT, Jan Alonzo
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Alonzo 2008-10-05 14:26:18 PDT
I'm getting this warnings from the console when running the acid 3 tests:

(lt-GtkLauncher:24087): GLib-GObject-WARNING **: invalid cast from `GdkWindow' to `GtkWidget'

(lt-GtkLauncher:24087): GLib-GObject-WARNING **: invalid cast from `GdkWindow' to `GtkWidget'

(lt-GtkLauncher:24087): GLib-GObject-WARNING **: invalid cast from `GdkWindow' to `GtkWidget'

(lt-GtkLauncher:24087): GLib-GObject-WARNING **: invalid cast from `GdkWindow' to `GtkWidget'

(lt-GtkLauncher:24087): GLib-GObject-WARNING **: invalid cast from `GdkWindow' to `GtkWidget'

(lt-GtkLauncher:24087): GLib-GObject-WARNING **: invalid cast from `GdkWindow' to `GtkWidget'
Comment 1 Jan Alonzo 2008-10-05 14:31:26 PDT
Created attachment 24102 [details]
fixed a misplaced closing parenthesis

The patch should fix the invalid cast by fixing a misplaced parenthesis to cast the widget and not the widget's window (which is a GdkWindow)
Comment 2 Darin Adler 2008-10-05 14:32:15 PDT
Comment on attachment 24102 [details]
fixed a misplaced closing parenthesis

r=me
Comment 3 Jan Alonzo 2008-10-05 14:50:25 PDT
Thanks! Landed in r37318