From d8bd40f744dcded3e43c05f5cce09150e6d7ef9d Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Thu, 25 Oct 2001 14:02:51 +0000 Subject: [PATCH] the valid range for the 'indent' property is G_MININT to G_MAXINT. Don't 2001-10-25 Matt Wilson * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for the 'indent' property is G_MININT to G_MAXINT. Don't use -G_MAXINT for the minimum of the 'rise' property, use G_MININT instead. --- ChangeLog | 8 ++++++++ ChangeLog.pre-2-0 | 8 ++++++++ ChangeLog.pre-2-10 | 8 ++++++++ ChangeLog.pre-2-2 | 8 ++++++++ ChangeLog.pre-2-4 | 8 ++++++++ ChangeLog.pre-2-6 | 8 ++++++++ ChangeLog.pre-2-8 | 8 ++++++++ gtk/gtktexttag.c | 4 ++-- 8 files changed, 58 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index df33a5440..bee5091da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-10-25 Matt Wilson + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + 2001-10-24 Anders Carlsson * gtk/gtktreeview.c: @@ -49,6 +56,7 @@ Wed Oct 24 20:29:47 2001 Kristian Rietveld remove hack to strip off the bogus newline, since we killed the bogus newline; fixes #61779 +>>>>>>> 1.2451 2001-10-24 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index df33a5440..bee5091da 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +2001-10-25 Matt Wilson + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + 2001-10-24 Anders Carlsson * gtk/gtktreeview.c: @@ -49,6 +56,7 @@ Wed Oct 24 20:29:47 2001 Kristian Rietveld remove hack to strip off the bogus newline, since we killed the bogus newline; fixes #61779 +>>>>>>> 1.2451 2001-10-24 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index df33a5440..bee5091da 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2001-10-25 Matt Wilson + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + 2001-10-24 Anders Carlsson * gtk/gtktreeview.c: @@ -49,6 +56,7 @@ Wed Oct 24 20:29:47 2001 Kristian Rietveld remove hack to strip off the bogus newline, since we killed the bogus newline; fixes #61779 +>>>>>>> 1.2451 2001-10-24 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index df33a5440..bee5091da 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +2001-10-25 Matt Wilson + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + 2001-10-24 Anders Carlsson * gtk/gtktreeview.c: @@ -49,6 +56,7 @@ Wed Oct 24 20:29:47 2001 Kristian Rietveld remove hack to strip off the bogus newline, since we killed the bogus newline; fixes #61779 +>>>>>>> 1.2451 2001-10-24 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index df33a5440..bee5091da 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2001-10-25 Matt Wilson + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + 2001-10-24 Anders Carlsson * gtk/gtktreeview.c: @@ -49,6 +56,7 @@ Wed Oct 24 20:29:47 2001 Kristian Rietveld remove hack to strip off the bogus newline, since we killed the bogus newline; fixes #61779 +>>>>>>> 1.2451 2001-10-24 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index df33a5440..bee5091da 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2001-10-25 Matt Wilson + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + 2001-10-24 Anders Carlsson * gtk/gtktreeview.c: @@ -49,6 +56,7 @@ Wed Oct 24 20:29:47 2001 Kristian Rietveld remove hack to strip off the bogus newline, since we killed the bogus newline; fixes #61779 +>>>>>>> 1.2451 2001-10-24 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index df33a5440..bee5091da 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2001-10-25 Matt Wilson + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + 2001-10-24 Anders Carlsson * gtk/gtktreeview.c: @@ -49,6 +56,7 @@ Wed Oct 24 20:29:47 2001 Kristian Rietveld remove hack to strip off the bogus newline, since we killed the bogus newline; fixes #61779 +>>>>>>> 1.2451 2001-10-24 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c index d71b4880f..7e7eee075 100644 --- a/gtk/gtktexttag.c +++ b/gtk/gtktexttag.c @@ -414,7 +414,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) g_param_spec_int ("indent", _("Indent"), _("Amount to indent the paragraph, in pixels"), - 0, + G_MININT, G_MAXINT, 0, G_PARAM_READABLE | G_PARAM_WRITABLE)); @@ -425,7 +425,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) g_param_spec_int ("rise", _("Rise"), _("Offset of text above the baseline (below the baseline if rise is negative)"), - -G_MAXINT, + G_MININT, G_MAXINT, 0, G_PARAM_READABLE | G_PARAM_WRITABLE)); -- 2.43.2