[gtk+/gtk-2-90: 8/156] Remove deprecated GtkLayout functions



commit 20b4681d8ecc7c21bf0b6bfde472be38ec2cfcdf
Author: Christian Dywan <christian twotoasts de>
Date:   Wed Oct 7 17:42:55 2009 +0200

    Remove deprecated GtkLayout functions

 gtk/gtklayout.c |   36 ------------------------------------
 gtk/gtklayout.h |   14 --------------
 2 files changed, 0 insertions(+), 50 deletions(-)
---
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index 0a11f48..40ef49d 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -533,42 +533,6 @@ gtk_layout_get_size (GtkLayout *layout,
     *height = layout->height;
 }
 
-/**
- * gtk_layout_freeze:
- * @layout: a #GtkLayout
- * 
- * This is a deprecated function, it doesn't do anything useful.
- **/
-void
-gtk_layout_freeze (GtkLayout *layout)
-{
-  g_return_if_fail (GTK_IS_LAYOUT (layout));
-
-  layout->freeze_count++;
-}
-
-/**
- * gtk_layout_thaw:
- * @layout: a #GtkLayout
- * 
- * This is a deprecated function, it doesn't do anything useful.
- **/
-void
-gtk_layout_thaw (GtkLayout *layout)
-{
-  g_return_if_fail (GTK_IS_LAYOUT (layout));
-
-  if (layout->freeze_count)
-    {
-      if (!(--layout->freeze_count))
-	{
-	  gtk_widget_queue_draw (GTK_WIDGET (layout));
-	  gdk_window_process_updates (GTK_WIDGET (layout)->window, TRUE);
-	}
-    }
-
-}
-
 /* Basic Object handling procedures
  */
 static void
diff --git a/gtk/gtklayout.h b/gtk/gtklayout.h
index 0d2e6bc..aa542ca 100644
--- a/gtk/gtklayout.h
+++ b/gtk/gtklayout.h
@@ -119,20 +119,6 @@ void           gtk_layout_set_hadjustment (GtkLayout     *layout,
 void           gtk_layout_set_vadjustment (GtkLayout     *layout,
 					   GtkAdjustment *adjustment);
 
-
-#ifndef GTK_DISABLE_DEPRECATED
-/* These disable and enable moving and repainting the scrolling window
- * of the GtkLayout, respectively.  If you want to update the layout's
- * offsets but do not want it to repaint itself, you should use these
- * functions.
- *
- * - I don't understand these are supposed to work, so I suspect
- * - they don't now.                    OWT 1/20/98
- */
-void           gtk_layout_freeze          (GtkLayout     *layout);
-void           gtk_layout_thaw            (GtkLayout     *layout);
-#endif /* GTK_DISABLE_DEPRECATED */
-
 G_END_DECLS
 
 #endif /* __GTK_LAYOUT_H__ */



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