Fix doc comment.

* gdk/x11/gdkcursor-x11.c: Fix doc comment.

	* gdk/gdkdnd.c: Add missing includes.
This commit is contained in:
Matthias Clasen 2002-10-25 00:01:15 +00:00
parent f607812226
commit 1a4c94b90b
9 changed files with 44 additions and 47 deletions

View File

@ -1,3 +1,9 @@
2002-10-25 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c: Fix doc comment.
* gdk/gdkdnd.c: Add missing includes.
2002-10-24 Matthias Clasen <maclas@gmx.de>
* gdk/gdkdnd.c:

View File

@ -1,3 +1,9 @@
2002-10-25 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c: Fix doc comment.
* gdk/gdkdnd.c: Add missing includes.
2002-10-24 Matthias Clasen <maclas@gmx.de>
* gdk/gdkdnd.c:

View File

@ -1,3 +1,9 @@
2002-10-25 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c: Fix doc comment.
* gdk/gdkdnd.c: Add missing includes.
2002-10-24 Matthias Clasen <maclas@gmx.de>
* gdk/gdkdnd.c:

View File

@ -1,3 +1,9 @@
2002-10-25 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c: Fix doc comment.
* gdk/gdkdnd.c: Add missing includes.
2002-10-24 Matthias Clasen <maclas@gmx.de>
* gdk/gdkdnd.c:

View File

@ -1,3 +1,9 @@
2002-10-25 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c: Fix doc comment.
* gdk/gdkdnd.c: Add missing includes.
2002-10-24 Matthias Clasen <maclas@gmx.de>
* gdk/gdkdnd.c:

View File

@ -1,3 +1,9 @@
2002-10-25 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c: Fix doc comment.
* gdk/gdkdnd.c: Add missing includes.
2002-10-24 Matthias Clasen <maclas@gmx.de>
* gdk/gdkdnd.c:

View File

@ -25,6 +25,8 @@
*/
#include <gdkdnd.h>
#include <gdkdrawable.h>
#include <gdkdisplay.h>
/**
* gdk_drag_find_window:
@ -73,3 +75,6 @@ gdk_drag_get_protocol (guint32 xid,
return gdk_drag_get_protocol_for_display (gdk_display_get_default (), xid, protocol);
}

View File

@ -704,22 +704,6 @@ make_list (const gchar *text,
return n_strings;
}
/**
* gdk_text_property_to_utf8_list_for_display:
* @display: currently ignored
* @encoding: an atom representing the encoding of the text
* @format: the format of the property
* @text: the text to convert
* @length: the length of @text, in bytes
* @list: location to store the list of strings or %NULL. The
* list should be freed with g_strfreev().
*
* Converts a text property in the giving encoding to
* a list of UTF-8 strings.
*
* Return value: the number of strings in the resulting
* list.
**/
gint
gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
GdkAtom encoding,
@ -841,40 +825,12 @@ sanitize_utf8 (const gchar *src)
return g_string_free (result, FALSE);
}
/**
* gdk_utf8_to_string_target:
* @str: a UTF-8 string
*
* Converts an UTF-8 string into the best possible representation
* as a STRING. The representation of characters not in STRING
* is not specified; it may be as pseudo-escape sequences
* \x{ABCD}, or it may be in some other form of approximation.
*
* Return value: the newly allocated string, or %NULL if the
* conversion failed. (It should not fail for
* any properly formed UTF-8 string.)
**/
gchar *
gdk_utf8_to_string_target (const gchar *str)
{
return sanitize_utf8 (str);
}
/**
* gdk_utf8_to_compound_text_for_display :
* @display: currently not used on win32
* @str: a UTF-8 string
* @encoding: location to store resulting encoding
* @format: location to store format of the result
* @ctext: location to store the data of the result
* @length: location to store the length of the data
* stored in @ctext
*
* Converts from UTF-8 to compound text.
*
* Return value: %TRUE if the conversion succeeded, otherwise
* %FALSE.
**/
gboolean
gdk_utf8_to_compound_text_for_display (GdkDisplay *display,
const gchar *str,

View File

@ -143,7 +143,7 @@ gdk_cursor_new_for_display (GdkDisplay *display,
*
* <example><title>Creating a custom cursor.</title>
* <programlisting>
* /* This data is in X bitmap format, and can be created with the 'bitmap'
* /<!-- -->* This data is in X bitmap format, and can be created with the 'bitmap'
* utility. *<!-- -->/
* &num;define cursor1_width 16
* &num;define cursor1_height 16
@ -160,8 +160,8 @@ gdk_cursor_new_for_display (GdkDisplay *display,
*
* GdkCursor *cursor;
* GdkPixmap *source, *mask;
* GdkColor fg = { 0, 65535, 0, 0 }; /* Red. *<!-- -->/
* GdkColor bg = { 0, 0, 0, 65535 }; /* Blue. *<!-- -->/
* GdkColor fg = { 0, 65535, 0, 0 }; /<!-- -->* Red. *<!-- -->/
* GdkColor bg = { 0, 0, 0, 65535 }; /<!-- -->* Blue. *<!-- -->/
*
*
* source = gdk_bitmap_create_from_data (NULL, cursor1_bits,