diff --git a/docs/reference/gdk/tmpl/events.sgml b/docs/reference/gdk/tmpl/events.sgml
index 2c39b5ef66..9174b9db0d 100644
--- a/docs/reference/gdk/tmpl/events.sgml
+++ b/docs/reference/gdk/tmpl/events.sgml
@@ -94,7 +94,7 @@ for the possible window states
was added in 2.8.
@GDK_DAMAGE: the content of the window has been changed. This event type
was added in 2.14.
-@GDK_EVENT_LAST:
+@GDK_EVENT_LAST: marks the end of the GdkEventType enumeration. Added in 2.18
diff --git a/docs/reference/gdk/tmpl/windows.sgml b/docs/reference/gdk/tmpl/windows.sgml
index 2ecae48d1f..2a574ab176 100644
--- a/docs/reference/gdk/tmpl/windows.sgml
+++ b/docs/reference/gdk/tmpl/windows.sgml
@@ -189,6 +189,38 @@ these types.
+
+
+
+
+
+@gdkwindow: the object which received the signal.
+@arg1:
+@arg2:
+@arg3:
+@arg4:
+
+
+
+
+
+
+@gdkwindow: the object which received the signal.
+@arg1:
+@arg2:
+@Returns:
+
+
+
+
+
+
+@gdkwindow: the object which received the signal.
+@arg1:
+@arg2:
+@arg3:
+@arg4:
+
Describes the kind of window.
@@ -200,7 +232,7 @@ Describes the kind of window.
@GDK_WINDOW_DIALOG: useless/deprecated compatibility type
@GDK_WINDOW_TEMP: override redirect temporary window (used to implement #GtkMenu)
@GDK_WINDOW_FOREIGN: foreign window (see gdk_window_foreign_new())
-@GDK_WINDOW_OFFSCREEN:
+@GDK_WINDOW_OFFSCREEN: offscreen window. Since 2.18
@@ -686,6 +718,15 @@ Deprecated equivalent of g_object_unref()
@dy:
+
+
+
+
+
+@window:
+@Returns:
+
+
@@ -1385,6 +1426,18 @@ Deprecated equivalent of gdk_drawable_get_type().
@Returns:
+
+
+
+
+
+@window:
+@x:
+@y:
+@root_x:
+@root_y:
+
+
@@ -1660,12 +1713,39 @@ Applications should never have any reason to use this facility
@Returns:
-
+
+
+
+
+
+@window:
+@Returns:
+
+
+
+
+
+
+
+@window:
+@embedder:
+
+
+
+
+
+
+
+@window:
+@Returns:
+
+
+
+
+
+
+
+@window:
@@ -1691,3 +1771,11 @@ End:
@window:
+
+
+
diff --git a/gdk/gdkregion.h b/gdk/gdkregion.h
index 415cd24b77..0adffa1a08 100644
--- a/gdk/gdkregion.h
+++ b/gdk/gdkregion.h
@@ -77,7 +77,7 @@ void gdk_region_get_rectangles (const GdkRegion *region,
gboolean gdk_region_empty (const GdkRegion *region);
gboolean gdk_region_equal (const GdkRegion *region1,
const GdkRegion *region2);
-gboolean gdk_region_rect_equal (const GdkRegion *region1,
+gboolean gdk_region_rect_equal (const GdkRegion *region,
const GdkRectangle *rectangle);
gboolean gdk_region_point_in (const GdkRegion *region,
int x,