From eb3efdf2428033db886fd5fb97e318dd5c2b3a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sat, 24 Apr 2010 04:05:54 +0200 Subject: [PATCH] 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, 40 deletions(-) diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index 7abe6154f8..40bafecdd2 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -836,7 +836,6 @@ gtk_hsv_get_type GtkColorSelection 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 53cd64c55d..e6ed147a17 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: - - -Sets the policy controlling when the color_changed signals are emitted. -The available policies are: - - - -%GTK_UPDATE_CONTINUOUS - signals are sent continuously as the color -selection changes. - - - - -%GTK_UPDATE_DISCONTINUOUS - signals are sent only when the mouse -button is released. - - - - -%GTK_UPDATE_DELAYED - signals are sent when the mouse button is -released or when the mouse has been motionless for a period of -time. - - - - - -@colorsel: a #GtkColorSelection. -@policy: a #GtkUpdateType value indicating the desired policy. - - diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index dd14751015..34d2d4a7d9 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.