Deprecate. (#68183)

* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)

        * gtk/gtkscale.h (gtk_scale_value_width): Remove useless
        compatibility macro. (#67730)

        * gtk/changes-2.0.sgml: Details about GtkRange and subclasses
        rewrite. (#67730)
This commit is contained in:
Matthias Clasen 2002-01-16 19:12:47 +00:00
parent 5b96321c3a
commit 226b2fa14b
11 changed files with 120 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.

View File

@ -1,3 +1,10 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.

View File

@ -1,3 +1,10 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.

View File

@ -1,3 +1,10 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.

View File

@ -1,3 +1,10 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.

View File

@ -1,3 +1,10 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.

View File

@ -1,3 +1,10 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
* gtk/gtkscale.h (gtk_scale_value_width): Remove useless
compatibility macro. (#67730)
Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output.

View File

@ -1,3 +1,8 @@
2002-01-15 Matthias Clasen <matthiasc@poet.de>
* gtk/changes-2.0.sgml: Details about GtkRange and subclasses
rewrite. (#67730)
2002-01-14 Matthias Clasen <matthiasc@poet.de>
* gtk/running.sgml: Add ids to some elements to make them

View File

@ -689,6 +689,70 @@ In GTK+ 1.2, if an event handler returned <literal>TRUE</literal> it prevented
how to subclass the old version of <structname>GtkRange</structname>, you
have our respect). Also, <literal>GtkTroughType</literal> is gone.
</para>
<para>
Here are some notable changes:
<itemizedlist>
<listitem>
<para>
<literal>stepper_size</literal> style property is the height for
vertical ranges, width for horizontal; the other dimension matches
the trough size.
</para>
</listitem>
<listitem>
<para>
Added the ability to do NeXT-style steppers (and several other styles
that don't make any sense).
</para>
</listitem>
<listitem>
<para>
Added <literal>min_slider_length</literal>,
<literal>fixed_slider_length</literal> properties to
<structname>GtkScrollbar</structname>.
</para>
</listitem>
<listitem>
<para>
Cleaned some private (or at least useless) functions out of
<filename>gtkscale.h</filename>, e.g.
<function>gtk_scale_value_width</literal>.
</para>
</listitem>
<listitem>
<para>
Moved bindings from subclasses to <structname>GtkScale</structname>,
even arrow keys, since blind users don't know scale orientation.
</para>
</listitem>
<listitem>
<para>
Changed <literal>move_slider</literal> action signal to use new
<structname>GtkScrollType</structname>, remove
<structname>GtkTroughType</structname> argument.
</para>
</listitem>
<listitem>
<para>
Digits rounds the values a range will input to the given
number of decimals, but will not try to force adjustment
values set by other controllers. That is, we no longer
modify <literal>adjustment->value</literal> inside a
<literal>value_changed</literal> handler.
</para>
</listitem>
<listitem>
<para>
Added getters for <structname>GtkScale</structname> setters.
</para>
</listitem>
<listitem>
<para>
Middle-click begins a slider drag.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
<listitem>

View File

@ -162,6 +162,7 @@ typedef enum
GTK_JUSTIFY_FILL
} GtkJustification;
#ifndef GTK_DISABLE_DEPRECATED
/* GtkPatternSpec match types */
typedef enum
{
@ -172,6 +173,7 @@ typedef enum
GTK_MATCH_EXACT, /* "AAAAA" */
GTK_MATCH_LAST
} GtkMatchType;
#endif /* GTK_DISABLE_DEPRECATED */
/* Menu keyboard movement types */
typedef enum

View File

@ -86,10 +86,6 @@ void _gtk_scale_get_value_size (GtkScale *scale,
gchar *_gtk_scale_format_value (GtkScale *scale,
gdouble value);
#ifndef GTK_DISABLE_DEPRECATED
#define gtk_scale_value_width gtk_scale_get_value_width
#endif /* GTK_DISABLE_DEPRECATED */
#ifdef __cplusplus
}
#endif /* __cplusplus */