[gtk+/gtk-2-90: 188/200] Remove gtk_color_selection_set_update_policy() completely



commit eb3efdf2428033db886fd5fb97e318dd5c2b3a1a
Author: Javier Jardón <jjardon gnome org>
Date:   Sat Apr 24 04:05:54 2010 +0200

    Remove gtk_color_selection_set_update_policy() completely

 docs/reference/gtk/gtk-sections.txt      |    1 -
 docs/reference/gtk/tmpl/gtkcolorsel.sgml |   31 ------------------------------
 gtk/gtkcolorsel.c                        |    8 -------
 3 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt
index 7abe615..40bafec 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -836,7 +836,6 @@ gtk_hsv_get_type
 <TITLE>GtkColorSelection</TITLE>
 GtkColorSelection
 gtk_color_selection_new
-gtk_color_selection_set_update_policy
 gtk_color_selection_set_has_opacity_control
 gtk_color_selection_get_has_opacity_control
 gtk_color_selection_set_has_palette
diff --git a/docs/reference/gtk/tmpl/gtkcolorsel.sgml b/docs/reference/gtk/tmpl/gtkcolorsel.sgml
index 53cd64c..e6ed147 100644
--- a/docs/reference/gtk/tmpl/gtkcolorsel.sgml
+++ b/docs/reference/gtk/tmpl/gtkcolorsel.sgml
@@ -64,37 +64,6 @@ according to its update policy.
 @Returns: 
 
 
-<!-- ##### FUNCTION gtk_color_selection_set_update_policy ##### -->
-<para>
-Sets the policy controlling when the color_changed signals are emitted.
-The available policies are:
-<itemizedlist>
-<listitem>
-<para>
-%GTK_UPDATE_CONTINUOUS - signals are sent continuously as the color
-selection changes.
-</para>
-</listitem>
-<listitem>
-<para>
-%GTK_UPDATE_DISCONTINUOUS - signals are sent only when the mouse 
-button is released.
-</para>
-</listitem>
-<listitem>
-<para>
-%GTK_UPDATE_DELAYED - signals are sent when the mouse button is
-released or when the mouse has been motionless for a period of
-time.
-</para>
-</listitem>
-</itemizedlist>
-</para>
-
- colorsel: a #GtkColorSelection.
- policy: a #GtkUpdateType value indicating the desired policy.
-
-
 <!-- ##### FUNCTION gtk_color_selection_set_has_opacity_control ##### -->
 <para>
 
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index dd14751..34d2d4a 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -2270,14 +2270,6 @@ gtk_color_selection_new (void)
   return GTK_WIDGET (colorsel);
 }
 
-
-void
-gtk_color_selection_set_update_policy (GtkColorSelection *colorsel,
-				       GtkUpdateType      policy)
-{
-  g_return_if_fail (GTK_IS_COLOR_SELECTION (colorsel));
-}
-
 /**
  * gtk_color_selection_get_has_opacity_control:
  * @colorsel: a #GtkColorSelection.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]