summaryrefslogtreecommitdiffstats
path: root/expose.patch
diff options
context:
space:
mode:
Diffstat (limited to 'expose.patch')
-rw-r--r--expose.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/expose.patch b/expose.patch
new file mode 100644
index 0000000..dd8aa3d
--- /dev/null
+++ b/expose.patch
@@ -0,0 +1,15 @@
+diff -up gnome-panel-2.21.92/applets/clock/clock-map.c.expose gnome-panel-2.21.92/applets/clock/clock-map.c
+--- gnome-panel-2.21.92/applets/clock/clock-map.c.expose 2008-03-03 20:26:50.000000000 -0500
++++ gnome-panel-2.21.92/applets/clock/clock-map.c 2008-03-03 20:26:55.000000000 -0500
+@@ -247,8 +247,9 @@ clock_map_expose (GtkWidget *this, GdkEv
+ /* draw a simple outline */
+ cairo_rectangle (
+ cr,
+- region.x + 0.5, region.y + 0.5,
+- region.width - 1, region.height - 1);
++ allocation.x + 0.5, allocation.y + 0.5,
++ gdk_pixbuf_get_width (priv->rotated_map_pixbuf) - 1,
++ gdk_pixbuf_get_height (priv->rotated_map_pixbuf) - 1);
+
+ cairo_set_source_rgb (
+ cr,