Some unrelated cleanups found while reviewing the offscreen window patch:

2008-06-30  Michael Natterer  <mitch@imendio.com>

	Some unrelated cleanups found while reviewing
	the offscreen window patch:

	* gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
	functions, fix some function header indentation, update
	documentation of redirect_to_drawable().

	* gdk/x11/gdkwindow-x11.c
	* gdk/x11/gdkpixmap-x11.c: fix function header
	formatting/indentation.

	* gtk/gtkwidget.c: use I_() on "damage_event".


svn path=/trunk/; revision=20708
This commit is contained in:
Michael Natterer
2008-06-30 12:15:29 +00:00
committed by Michael Natterer
parent 2e3c1149ae
commit 971023d922
5 changed files with 50 additions and 18 deletions

View File

@ -57,8 +57,8 @@ typedef struct
} _GdkPixmapInfo;
static void gdk_pixmap_impl_x11_get_size (GdkDrawable *drawable,
gint *width,
gint *height);
gint *width,
gint *height);
static void gdk_pixmap_impl_x11_dispose (GObject *object);
static void gdk_pixmap_impl_x11_finalize (GObject *object);

View File

@ -3781,12 +3781,13 @@ do_shape_combine_region (GdkWindow *window,
}
#endif /* HAVE_SHAPE_EXT */
}
static void
gdk_window_x11_shape_combine_region (GdkWindow *window,
const GdkRegion *shape_region,
gint offset_x,
gint offset_y)
{
{
do_shape_combine_region (window, shape_region, offset_x, offset_y, ShapeBounding);
}
@ -4558,7 +4559,8 @@ gdk_window_unfullscreen (GdkWindow *window)
* Since: 2.4
**/
void
gdk_window_set_keep_above (GdkWindow *window, gboolean setting)
gdk_window_set_keep_above (GdkWindow *window,
gboolean setting)
{
g_return_if_fail (GDK_IS_WINDOW (window));
@ -5285,7 +5287,8 @@ gdk_window_merge_child_input_shapes (GdkWindow *window)
static void
gdk_window_set_static_bit_gravity (GdkWindow *window, gboolean on)
gdk_window_set_static_bit_gravity (GdkWindow *window,
gboolean on)
{
XSetWindowAttributes xattributes;
GdkWindowObject *private;
@ -5306,7 +5309,8 @@ gdk_window_set_static_bit_gravity (GdkWindow *window, gboolean on)
}
static void
gdk_window_set_static_win_gravity (GdkWindow *window, gboolean on)
gdk_window_set_static_win_gravity (GdkWindow *window,
gboolean on)
{
XSetWindowAttributes xattributes;