Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Fixed parameter type from guint to gint for set/get_indent_width
Browse files Browse the repository at this point in the history
I think at some point this was changed in gsv to accomodate the
-1 default value, meaning to take the value from tab-width instead.
This was then not updated in the bindings, but now it is.
  • Loading branch information
Jesse van den Kieboom committed Apr 17, 2010
1 parent 812857b commit 0713d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtksourceview2.defs
Expand Up @@ -802,14 +802,14 @@
(c-name "gtk_source_view_set_indent_width")
(return-type "none")
(parameters
'("guint" "width")
'("gint" "width")
)
)

(define-method get_indent_width
(of-object "GtkSourceView")
(c-name "gtk_source_view_get_indent_width")
(return-type "guint")
(return-type "gint")
)

(define-method set_tab_width
Expand Down

0 comments on commit 0713d3a

Please sign in to comment.