[gtk+/gtk-2-90] Remove GtkCurve completely
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90] Remove GtkCurve completely
- Date: Tue, 24 Nov 2009 04:07:19 +0000 (UTC)
commit cb7f30b768dcf5338fb2f0e77ea89dc6ea6d7bb7
Author: Javier Jardón <jjardon gnome org>
Date: Tue Nov 24 05:06:43 2009 +0100
Remove GtkCurve completely
docs/faq/gtk-faq.sgml | 1 -
docs/reference/gtk/gtk-sections.txt | 23 -
docs/reference/gtk/gtk.types | 1 -
docs/reference/gtk/objects_grouped.sgml | 1 -
docs/reference/gtk/tmpl/gtkcurve.sgml | 153 -----
docs/reference/gtk/tmpl/gtkenums.sgml | 9 -
docs/tutorial/gtk-tut.sgml | 12 -
docs/tutorial/gtk_tut.sgml | 10 -
docs/tutorial/gtk_tut_12.es.sgml | 10 -
docs/tutorial/gtk_tut_fr.sgml | 3 +-
docs/tutorial/gtk_tut_it.sgml | 1 -
gtk/gtk.symbols | 16 -
gtk/gtkcurve.c | 1039 -------------------------------
gtk/gtkcurve.h | 106 ----
gtk/gtkenums.h | 8 -
gtk/tests/object.c | 1 -
tests/testgtkrc | 1 -
17 files changed, 1 insertions(+), 1394 deletions(-)
---
diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml
index cbb4796..3e0f504 100644
--- a/docs/faq/gtk-faq.sgml
+++ b/docs/faq/gtk-faq.sgml
@@ -1159,7 +1159,6 @@ myapp --display=:1
| +GtkToolbar
| `GtkTree
+GtkDrawingArea
- | `GtkCurve
+GtkEditable
| +GtkEntry
| | `GtkSpinButton
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt
index d0c2def..febbbf2 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -1125,28 +1125,6 @@ gtk_ctree_node_get_type
</SECTION>
<SECTION>
-<FILE>gtkcurve</FILE>
-<TITLE>GtkCurve</TITLE>
-GtkCurve
-gtk_curve_new
-gtk_curve_reset
-gtk_curve_set_gamma
-gtk_curve_set_range
-gtk_curve_get_vector
-gtk_curve_set_vector
-gtk_curve_set_curve_type
-<SUBSECTION Standard>
-GTK_CURVE
-GTK_IS_CURVE
-GTK_TYPE_CURVE
-GTK_CURVE_CLASS
-GTK_IS_CURVE_CLASS
-GTK_CURVE_GET_CLASS
-<SUBSECTION Private>
-gtk_curve_get_type
-</SECTION>
-
-<SECTION>
<FILE>gtkdialog</FILE>
<TITLE>GtkDialog</TITLE>
GtkDialog
@@ -6204,7 +6182,6 @@ GtkArrowType
GtkAttachOptions
GtkButtonBoxStyle
GtkCornerType
-GtkCurveType
GtkDeleteType
GtkDirectionType
GtkExpanderStyle
diff --git a/docs/reference/gtk/gtk.types b/docs/reference/gtk/gtk.types
index a26a8d6..998b7a8 100644
--- a/docs/reference/gtk/gtk.types
+++ b/docs/reference/gtk/gtk.types
@@ -45,7 +45,6 @@ gtk_combo_box_get_type
gtk_combo_get_type
gtk_container_get_type
gtk_ctree_get_type
-gtk_curve_get_type
gtk_dialog_get_type
gtk_drawing_area_get_type
gtk_editable_get_type
diff --git a/docs/reference/gtk/objects_grouped.sgml b/docs/reference/gtk/objects_grouped.sgml
index 519b2dc..9b0c95b 100644
--- a/docs/reference/gtk/objects_grouped.sgml
+++ b/docs/reference/gtk/objects_grouped.sgml
@@ -84,7 +84,6 @@
<link linkend="GtkImage">GtkImage</link>
<link linkend="GtkPixmap">GtkPixmap</link>
<link linkend="GtkPreview">GtkPreview</link>
- <link linkend="GtkCurve">GtkCurve</link>
<emphasis>Misc. Widgets</emphasis>
<link linkend="GtkArrow">GtkArrow</link>
diff --git a/docs/reference/gtk/tmpl/gtkenums.sgml b/docs/reference/gtk/tmpl/gtkenums.sgml
index 3b72290..181a5af 100644
--- a/docs/reference/gtk/tmpl/gtkenums.sgml
+++ b/docs/reference/gtk/tmpl/gtkenums.sgml
@@ -111,15 +111,6 @@ widget.
@GTK_CORNER_BOTTOM_RIGHT: Place the scrollbars on the top and left of the
widget.
-<!-- ##### ENUM GtkCurveType ##### -->
-<para>
-
-</para>
-
- GTK_CURVE_TYPE_LINEAR:
- GTK_CURVE_TYPE_SPLINE:
- GTK_CURVE_TYPE_FREE:
-
<!-- ##### ENUM GtkDeleteType ##### -->
<para>
diff --git a/docs/tutorial/gtk-tut.sgml b/docs/tutorial/gtk-tut.sgml
index a999e38..6083449 100755
--- a/docs/tutorial/gtk-tut.sgml
+++ b/docs/tutorial/gtk-tut.sgml
@@ -2021,7 +2021,6 @@ GObject
| | `GtkTreeView
| +GtkCalendar
| +GtkDrawingArea
- | | `GtkCurve
| +GtkEditable
| | +GtkEntry
| | `GtkSpinButton
@@ -13964,17 +13963,6 @@ void GtkStatusbar::text-popped (GtkStatusbar *,
</sect1>
<!-- ----------------------------------------------------------------- -->
-<sect1 id="sec-GtkCurve">
-<title>GtkCurve</title>
-
-<programlisting role="C">
-void GtkCurve::curve-type-changed (GtkCurve *,
- gpointer);
-</programlisting>
-
-</sect1>
-
-<!-- ----------------------------------------------------------------- -->
<sect1 id="sec-GtkAdjustment">
<title>GtkAdjustment</title>
diff --git a/docs/tutorial/gtk_tut.sgml b/docs/tutorial/gtk_tut.sgml
index 572e36e..4dd3c51 100644
--- a/docs/tutorial/gtk_tut.sgml
+++ b/docs/tutorial/gtk_tut.sgml
@@ -1813,7 +1813,6 @@ For your reference, here is the class hierarchy tree used to implement widgets.
| | `GtkTree
| +GtkCalendar
| +GtkDrawingArea
- | | `GtkCurve
| +GtkEditable
| | +GtkEntry
| | | `GtkSpinButton
@@ -15769,15 +15768,6 @@ void GtkCTree::change-focus-row-expansion (GtkCTree *,
</verb></tscreen>
<!-- ----------------------------------------------------------------- -->
-<sect1>GtkCurve
-<!-- ----------------------------------------------------------------- -->
-<p>
-<tscreen><verb>
-void GtkCurve::curve-type-changed (GtkCurve *,
- gpointer);
-</verb></tscreen>
-
-<!-- ----------------------------------------------------------------- -->
<sect1>GtkAdjustment
<!-- ----------------------------------------------------------------- -->
<p>
diff --git a/docs/tutorial/gtk_tut_12.es.sgml b/docs/tutorial/gtk_tut_12.es.sgml
index 8389a89..0049c26 100755
--- a/docs/tutorial/gtk_tut_12.es.sgml
+++ b/docs/tutorial/gtk_tut_12.es.sgml
@@ -1831,7 +1831,6 @@ los <em/widgets/.
| | `GtkTree
| +GtkCalendar
| +GtkDrawingArea
- | | `GtkCurve
| +GtkEditable
| | +GtkEntry
| | | `GtkSpinButton
@@ -15353,15 +15352,6 @@ void GtkCTree::change-focus-row-expansion (GtkCTree *,
</verb></tscreen>
<!-- ----------------------------------------------------------------- -->
-<sect1>GtkCurve
-<!-- ----------------------------------------------------------------- -->
-<p>
-<tscreen><verb>
-void GtkCurve::curve-type-changed (GtkCurve *,
- gpointer);
-</verb></tscreen>
-
-<!-- ----------------------------------------------------------------- -->
<sect1>GtkAdjustment
<!-- ----------------------------------------------------------------- -->
<p>
diff --git a/docs/tutorial/gtk_tut_fr.sgml b/docs/tutorial/gtk_tut_fr.sgml
index 1ddd613..5ac44cf 100644
--- a/docs/tutorial/gtk_tut_fr.sgml
+++ b/docs/tutorial/gtk_tut_fr.sgml
@@ -1553,8 +1553,7 @@ Voici l'arbre de la hi
| +-- GtkBox
| | +-- GtkHBox
| | \-- GtkVBox
- | | +-- GtkColorSelection
- | | \-- GtkCurve
+ | | \-- GtkColorSelection
| |
| +-- GtkButton
| | +-- GtkOptionMenu
diff --git a/docs/tutorial/gtk_tut_it.sgml b/docs/tutorial/gtk_tut_it.sgml
index 1876112..78f6261 100644
--- a/docs/tutorial/gtk_tut_it.sgml
+++ b/docs/tutorial/gtk_tut_it.sgml
@@ -1571,7 +1571,6 @@ oggetti grafici.
| +GtkToolbar
| `GtkTree
+GtkDrawingArea
- | `GtkCurve
+GtkEditable
| +GtkEntry
| | `GtkSpinButton
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index dec0c6d..cbe7c62 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -324,7 +324,6 @@ gtk_window_position_get_type G_GNUC_CONST
gtk_tree_view_column_sizing_get_type G_GNUC_CONST
gtk_tree_view_drop_position_get_type G_GNUC_CONST
gtk_button_box_style_get_type G_GNUC_CONST
-gtk_curve_type_get_type G_GNUC_CONST
gtk_icon_lookup_flags_get_type G_GNUC_CONST
gtk_image_type_get_type G_GNUC_CONST
gtk_im_preedit_style_get_type G_GNUC_CONST
@@ -888,21 +887,6 @@ gtk_container_unset_focus_chain
#endif
#endif
-#if IN_HEADER(__GTK_CURVE_H__)
-#if IN_FILE(__GTK_CURVE_C__)
-#ifndef GTK_DISABLE_DEPRECATED
-gtk_curve_get_type G_GNUC_CONST
-gtk_curve_get_vector
-gtk_curve_new
-gtk_curve_reset
-gtk_curve_set_curve_type
-gtk_curve_set_gamma
-gtk_curve_set_range
-gtk_curve_set_vector
-#endif
-#endif
-#endif
-
#if IN_HEADER(__GTK_WINDOW_DECORATE_H__)
#if IN_FILE(__GTK_WINDOW_DECORATE_C__)
gtk_decorated_window_calculate_frame_size
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index d71778a..1b977e2 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -94,14 +94,6 @@ typedef enum
GTK_BUTTONBOX_CENTER
} GtkButtonBoxStyle;
-/* Curve types */
-typedef enum
-{
- GTK_CURVE_TYPE_LINEAR, /* linear interpolation */
- GTK_CURVE_TYPE_SPLINE, /* spline interpolation */
- GTK_CURVE_TYPE_FREE /* free form curve */
-} GtkCurveType;
-
typedef enum
{
GTK_DELETE_CHARS,
diff --git a/gtk/tests/object.c b/gtk/tests/object.c
index 4b77e93..feb724a 100644
--- a/gtk/tests/object.c
+++ b/gtk/tests/object.c
@@ -55,7 +55,6 @@ list_ignore_properties (gboolean buglist)
{
/* currently untestable properties */
static const IgnoreProperty ignore_properties[] = {
- { "GtkCurve", "", NULL, }, /* Just ignore it, not worth fixing */
{ "GtkContainer", "child", NULL, }, /* needs working child widget */
{ "GtkRadioMenuItem", "group", NULL, }, /* needs working sibling */
{ "GtkWidget", "parent", NULL, }, /* needs working parent widget */
diff --git a/tests/testgtkrc b/tests/testgtkrc
index 3b8f09f..990a322 100644
--- a/tests/testgtkrc
+++ b/tests/testgtkrc
@@ -159,7 +159,6 @@ widget_class "*GtkRadioButton*" style "toggle_button"
widget_class "*GtkButton*" style "button"
widget_class "*Ruler" style "ruler"
widget_class "*GtkText" style "text"
-widget "*GtkCurve" style "curve"
binding "test1"
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]