diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 15:54:49 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch) | |
tree | 8dc515efd6e0c0b0da1d7e02049f284edd6050ff /gtk/gtkentrybuffer.c | |
parent | 46423e614d4fcf142d9578d4788dde664ea280f9 (diff) | |
download | gtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz |
Replace "gint" with "int"
Diffstat (limited to 'gtk/gtkentrybuffer.c')
-rw-r--r-- | gtk/gtkentrybuffer.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkentrybuffer.c b/gtk/gtkentrybuffer.c index de365ff6a5..00158e3a0c 100644 --- a/gtk/gtkentrybuffer.c +++ b/gtk/gtkentrybuffer.c @@ -75,7 +75,7 @@ struct _GtkEntryBufferPrivate gsize normal_text_bytes; guint normal_text_chars; - gint max_length; + int max_length; }; G_DEFINE_TYPE_WITH_PRIVATE (GtkEntryBuffer, gtk_entry_buffer, G_TYPE_OBJECT) @@ -437,7 +437,7 @@ gtk_entry_buffer_class_init (GtkEntryBufferClass *klass) **/ GtkEntryBuffer* gtk_entry_buffer_new (const gchar *initial_chars, - gint n_initial_chars) + int n_initial_chars) { GtkEntryBuffer *buffer = g_object_new (GTK_TYPE_ENTRY_BUFFER, NULL); if (initial_chars) @@ -533,7 +533,7 @@ gtk_entry_buffer_get_text (GtkEntryBuffer *buffer) void gtk_entry_buffer_set_text (GtkEntryBuffer *buffer, const gchar *chars, - gint n_chars) + int n_chars) { g_return_if_fail (GTK_IS_ENTRY_BUFFER (buffer)); g_return_if_fail (chars != NULL); @@ -557,7 +557,7 @@ gtk_entry_buffer_set_text (GtkEntryBuffer *buffer, **/ void gtk_entry_buffer_set_max_length (GtkEntryBuffer *buffer, - gint max_length) + int max_length) { GtkEntryBufferPrivate *priv = gtk_entry_buffer_get_instance_private (buffer); @@ -585,7 +585,7 @@ gtk_entry_buffer_set_max_length (GtkEntryBuffer *buffer, * Returns: the maximum allowed number of characters * in #GtkEntryBuffer, or 0 if there is no maximum. */ -gint +int gtk_entry_buffer_get_max_length (GtkEntryBuffer *buffer) { GtkEntryBufferPrivate *priv = gtk_entry_buffer_get_instance_private (buffer); @@ -618,7 +618,7 @@ guint gtk_entry_buffer_insert_text (GtkEntryBuffer *buffer, guint position, const gchar *chars, - gint n_chars) + int n_chars) { GtkEntryBufferPrivate *pv = gtk_entry_buffer_get_instance_private (buffer); GtkEntryBufferClass *klass; @@ -673,7 +673,7 @@ gtk_entry_buffer_insert_text (GtkEntryBuffer *buffer, guint gtk_entry_buffer_delete_text (GtkEntryBuffer *buffer, guint position, - gint n_chars) + int n_chars) { GtkEntryBufferClass *klass; guint length; |