Commit 226b2fa1 authored by Matthias Clasen's avatar Matthias Clasen

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)
parent 5b96321c
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> Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output. * configure.in: Fix typo in --help output.
......
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> Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output. * configure.in: Fix typo in --help output.
......
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> Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output. * configure.in: Fix typo in --help output.
......
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> Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output. * configure.in: Fix typo in --help output.
......
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> Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output. * configure.in: Fix typo in --help output.
......
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> Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output. * configure.in: Fix typo in --help output.
......
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> Wed Jan 16 10:54:38 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo in --help output. * configure.in: Fix typo in --help output.
......
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> 2002-01-14 Matthias Clasen <matthiasc@poet.de>
* gtk/running.sgml: Add ids to some elements to make them * gtk/running.sgml: Add ids to some elements to make them
......
...@@ -689,6 +689,70 @@ In GTK+ 1.2, if an event handler returned <literal>TRUE</literal> it prevented ...@@ -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 how to subclass the old version of <structname>GtkRange</structname>, you
have our respect). Also, <literal>GtkTroughType</literal> is gone. have our respect). Also, <literal>GtkTroughType</literal> is gone.
</para> </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>
<listitem> <listitem>
......
...@@ -162,6 +162,7 @@ typedef enum ...@@ -162,6 +162,7 @@ typedef enum
GTK_JUSTIFY_FILL GTK_JUSTIFY_FILL
} GtkJustification; } GtkJustification;
#ifndef GTK_DISABLE_DEPRECATED
/* GtkPatternSpec match types */ /* GtkPatternSpec match types */
typedef enum typedef enum
{ {
...@@ -172,6 +173,7 @@ typedef enum ...@@ -172,6 +173,7 @@ typedef enum
GTK_MATCH_EXACT, /* "AAAAA" */ GTK_MATCH_EXACT, /* "AAAAA" */
GTK_MATCH_LAST GTK_MATCH_LAST
} GtkMatchType; } GtkMatchType;
#endif /* GTK_DISABLE_DEPRECATED */
/* Menu keyboard movement types */ /* Menu keyboard movement types */
typedef enum typedef enum
......
...@@ -86,10 +86,6 @@ void _gtk_scale_get_value_size (GtkScale *scale, ...@@ -86,10 +86,6 @@ void _gtk_scale_get_value_size (GtkScale *scale,
gchar *_gtk_scale_format_value (GtkScale *scale, gchar *_gtk_scale_format_value (GtkScale *scale,
gdouble value); gdouble value);
#ifndef GTK_DISABLE_DEPRECATED
#define gtk_scale_value_width gtk_scale_get_value_width
#endif /* GTK_DISABLE_DEPRECATED */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment