From b0cf4d057de5b4e4d411c387487c60dc10d212e2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 21 Apr 2013 21:31:29 -0400 Subject: Make transition-duration unsigned The code doesn't deal with negative durations, so better don't allow them. --- gtk/gtkstack.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkstack.h') 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); -- cgit v1.2.1