Add a deprecation mark to draw_insertion_cursor
This function has been replaced with gtk_render_insertion_cursor, but we forgot to mark it as deprecated.
This commit is contained in:
@ -4738,6 +4738,7 @@ gtk_render_insertion_cursor (GtkStyleContext *context,
|
|||||||
* but merely a convenience function for drawing the standard cursor shape.
|
* but merely a convenience function for drawing the standard cursor shape.
|
||||||
*
|
*
|
||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
|
* Deprecated: 3.4: Use gtk_render_insertion_cursor() instead.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gtk_draw_insertion_cursor (GtkWidget *widget,
|
gtk_draw_insertion_cursor (GtkWidget *widget,
|
||||||
|
|||||||
@ -949,7 +949,7 @@ void gtk_render_insertion_cursor
|
|||||||
PangoLayout *layout,
|
PangoLayout *layout,
|
||||||
int index,
|
int index,
|
||||||
PangoDirection direction);
|
PangoDirection direction);
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
void gtk_draw_insertion_cursor (GtkWidget *widget,
|
void gtk_draw_insertion_cursor (GtkWidget *widget,
|
||||||
cairo_t *cr,
|
cairo_t *cr,
|
||||||
const GdkRectangle *location,
|
const GdkRectangle *location,
|
||||||
|
|||||||
Reference in New Issue
Block a user