diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-01 03:25:02 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-01 03:25:29 +0000 |
commit | 1f30b7742b3332825db4e2eab7c70d45a7424fea (patch) | |
tree | fbeaf7ee4e181189e0a4cb107fdbaa52382f2ed3 /gtk/gtktextutil.h | |
parent | 54e7a94d7005ed8da0707154d3606dec96732ac9 (diff) | |
download | gtk+-1f30b7742b3332825db4e2eab7c70d45a7424fea.tar.gz |
textutil: Fix signedness issues in api
A length argument that can be -1 should be signed.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1555
Diffstat (limited to 'gtk/gtktextutil.h')
-rw-r--r-- | gtk/gtktextutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextutil.h b/gtk/gtktextutil.h index a657e586ce..450ed464a1 100644 --- a/gtk/gtktextutil.h +++ b/gtk/gtktextutil.h @@ -40,7 +40,7 @@ void _gtk_text_util_append_special_char_menuitems (GtkMenuShell *me GdkPaintable * gtk_text_util_create_drag_icon (GtkWidget *widget, gchar *text, - gsize len); + gssize len); GdkPaintable * gtk_text_util_create_rich_drag_icon (GtkWidget *widget, GtkTextBuffer *buffer, GtkTextIter *start, |