diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-04-21 21:31:29 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-04-21 21:51:28 -0400 |
commit | b0cf4d057de5b4e4d411c387487c60dc10d212e2 (patch) | |
tree | 2a1dd365044d7c7eb9f79355a014d318eea8cf86 /gtk/gtkstack.h | |
parent | 71f1f768ccf5863322533c6837d716ae6854a230 (diff) | |
download | gtk+-b0cf4d057de5b4e4d411c387487c60dc10d212e2.tar.gz |
Make transition-duration unsigned
The code doesn't deal with negative durations, so better
don't allow them.
Diffstat (limited to 'gtk/gtkstack.h')
-rw-r--r-- | gtk/gtkstack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h index a0136e7ace..46c73671c9 100644 --- a/gtk/gtkstack.h +++ b/gtk/gtkstack.h @@ -79,8 +79,8 @@ void gtk_stack_set_homogeneous (GtkStack gboolean homogeneous); gboolean gtk_stack_get_homogeneous (GtkStack *stack); void gtk_stack_set_transition_duration (GtkStack *stack, - gint transition_duration); -gint gtk_stack_get_transition_duration (GtkStack *stack); + guint transition_duration); +guint gtk_stack_get_transition_duration (GtkStack *stack); void gtk_stack_set_transition_type (GtkStack *stack, GtkStackTransitionType transition_type); GtkStackTransitionType gtk_stack_get_transition_type (GtkStack *stack); |