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



commit 05dd22922ca217fbfad3d52d6abc7d347550fdc1
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 47005cd..a0ebb7f 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -1127,28 +1127,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
@@ -6325,7 +6303,6 @@ GtkArrowType
 GtkAttachOptions
 GtkButtonBoxStyle
 GtkCornerType
-GtkCurveType
 GtkDeleteType
 GtkDirectionType
 GtkExpanderStyle
diff --git a/docs/reference/gtk/gtk.types b/docs/reference/gtk/gtk.types
index dce03d3..d15f127 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 3d46113..62edd10 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 2cfd612..72cc6a9 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -326,7 +326,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
@@ -891,21 +890,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 9c133c6..1b977e2 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]