[gtk+/gtk-2-90: 136/200] Remove GtkCurve completely



commit 74e68444883c15cb19c1338a2052172fb9f15d0a
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 -
 gtk/gtk.symbols                         |   16 -
 gtk/gtkcurve.c                          | 1039 -------------------------------
 gtk/gtkcurve.h                          |  106 ----
 gtk/gtkenums.h                          |   10 -
 gtk/tests/object.c                      |    1 -
 tests/testgtkrc                         |    1 -
 13 files changed, 0 insertions(+), 1373 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 d0bbb7c..08939ef 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -1128,28 +1128,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
@@ -6339,7 +6317,6 @@ GtkArrowType
 GtkAttachOptions
 GtkButtonBoxStyle
 GtkCornerType
-GtkCurveType
 GtkDeleteType
 GtkDirectionType
 GtkExpanderStyle
diff --git a/docs/reference/gtk/gtk.types b/docs/reference/gtk/gtk.types
index f7d313f..20895e3 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 30f3e06..1dba303 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/gtk/gtk.symbols b/gtk/gtk.symbols
index c1239b5..fc0f7a9 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -327,7 +327,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
@@ -892,21 +891,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 5412fa6..c4f509c 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -94,16 +94,6 @@ typedef enum
   GTK_BUTTONBOX_CENTER
 } GtkButtonBoxStyle;
 
-#ifndef GTK_DISABLE_DEPRECATED
-/* Curve types */
-typedef enum
-{
-  GTK_CURVE_TYPE_LINEAR,       /* linear interpolation */
-  GTK_CURVE_TYPE_SPLINE,       /* spline interpolation */
-  GTK_CURVE_TYPE_FREE          /* free form curve */
-} GtkCurveType;
-#endif
-
 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]