Summary: | gdk painting changes | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Holger Freyther <zecke> | ||||
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Holger Freyther
2007-07-13 10:54:27 PDT
Created attachment 15502 [details]
Painting Chnages
Fix drawing of PlatformScrollbar, fix ownership of it, do not tripple buffer RenderThemeGdk, this should fix drawing rounded buttons as well. Lazily get the gdkDrawable as it might not be created at the time Widget::setGtkWidget is getting called. The drawable will exist when doing painting.
Comment on attachment 15502 [details]
Painting Chnages
Hi Holger,
even though I'm not a gdk/gtk expert this looks like a nice patch.
I'm not sure wheter you are adhering to the style guide in the gdk port, if yes, tiny remark:
+struct FrameGdkExposeData{
+ GtkContainer *container;
+ GdkEventExpose *expose;
+};
missing space after {, stars should be moved.
+
+static void
+frame_gdk_expose_child(GtkWidget *widget, gpointer _data)
+{
Don't use two lines here.
Other than style remarks, all fine, r=me.
Greetings,
Niko
Comment on attachment 15502 [details]
Painting Chnages
Hi Holger,
even though I'm not a gdk/gtk expert this looks like a nice patch.
I'm not sure wheter you are adhering to the style guide in the gdk port, if yes, tiny remark:
+struct FrameGdkExposeData{
+ GtkContainer *container;
+ GdkEventExpose *expose;
+};
missing space after {, stars should be moved.
+
+static void
+frame_gdk_expose_child(GtkWidget *widget, gpointer _data)
+{
Don't use two lines here.
Other than style remarks, all fine, r=me.
Greetings,
Niko
We do adhere the CodingStyle (well besides webkitgtklayout.c as in another patch). So please let me fix that before landing this patch. |