More documentation fixes

This commit is contained in:
Matthias Clasen 2009-07-03 16:37:14 -04:00
parent 3b3e4e2a4b
commit a213b00d8b
4 changed files with 47 additions and 9 deletions

View File

@ -57,9 +57,8 @@ const GOptionEntry _gdk_windowing_args[] =
{ NULL}
};
/**
Main entry point for gdk in 2.6 args are parsed
**/
/* Main entry point for gdk in 2.6 args are parsed
*/
GdkDisplay * gdk_display_open (const gchar *display_name)
{
IDirectFB *directfb;

View File

@ -59,9 +59,8 @@
void
_gdk_windowing_init (void)
{
/**
Not that usable called before parse_args
**/
/* Not that usable called before parse_args
*/
}
void

View File

@ -1640,9 +1640,8 @@ gdk_directfb_window_clear_area (GdkWindow *window,
impl = GDK_DRAWABLE_IMPL_DIRECTFB (private->impl);
/**
Follow XClearArea definition for zero height width
**/
/* Follow XClearArea definition for zero height width
*/
if( width == 0 )
width = impl->width-x;
if( height == 0 )

View File

@ -446,6 +446,19 @@ gdk_window_class_init (GdkWindowObjectClass *klass)
quark_pointer_window = g_quark_from_static_string ("gtk-pointer-window");
/**
* GdkWindow::pick-embedded-child:
* @window: the window on which the signal is emitted
* @x: x coordinate in the window
* @y: y coordinate in the window
*
* The ::pick-embedded-child signal is emitted to find an embedded
* child at the given position.
*
* Returns: the GdkWindow of the embedded child at @x, @y, or %NULL
*
* Since: 2.18
*/
signals[PICK_EMBEDDED_CHILD] =
g_signal_new (g_intern_static_string ("pick-embedded-child"),
G_OBJECT_CLASS_TYPE (object_class),
@ -457,6 +470,20 @@ gdk_window_class_init (GdkWindowObjectClass *klass)
2,
G_TYPE_DOUBLE,
G_TYPE_DOUBLE);
/**
* GdkWindow::to-embedder:
* @window: the offscreen window on which the signal is emitted
* @offscreen-x: x coordinate in the offscreen window
* @offscreen-y: y coordinate in the offscreen window
* @embedder-x: return location for the x coordinate in the embedder window
* @embedder-y: return location for the y coordinate in the embedder window
*
* The ::to-embedder signal is emitted to translate coordinates
* in an offscreen window to its embedder.
*
* Since: 2.18
*/
signals[TO_EMBEDDER] =
g_signal_new (g_intern_static_string ("to-embedder"),
G_OBJECT_CLASS_TYPE (object_class),
@ -470,6 +497,20 @@ gdk_window_class_init (GdkWindowObjectClass *klass)
G_TYPE_DOUBLE,
G_TYPE_POINTER,
G_TYPE_POINTER);
/**
* GdkWindow::from-embedder:
* @window: the offscreen window on which the signal is emitted
* @embedder-x: x coordinate in the embedder window
* @embedder-y: y coordinate in the embedder window
* @offscreen-x: return location for the x coordinate in the offscreen window
* @offscreen-y: return location for the y coordinate in the offscreen window
*
* The ::from-embedder signal is emitted to translate coordinates
* in the embedder of an offscreen window to the offscreen window.
*
* Since: 2.18
*/
signals[FROM_EMBEDDER] =
g_signal_new (g_intern_static_string ("from-embedder"),
G_OBJECT_CLASS_TYPE (object_class),