[gtk+/gtk-2-22] Deprecate GtkWidget::draw-border style property
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] Deprecate GtkWidget::draw-border style property
- Date: Wed, 18 Aug 2010 16:51:36 +0000 (UTC)
commit 67684a05b6fea94a015931bdda28a287b85e8f7b
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Aug 18 12:49:34 2010 -0400
Deprecate GtkWidget::draw-border style property
This style property is not used at all in the wild, and handling
it has some performance overhead.
gtk/gtkwidget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index cef6771..947bc17 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -2470,6 +2470,8 @@ gtk_widget_class_init (GtkWidgetClass *klass)
* the widget's allocation to draw.
*
* Since: 2.8
+ *
+ * Deprecated: 2.22: This property will be removed in GTK+ 3
*/
gtk_widget_class_install_style_property (klass,
g_param_spec_boxed ("draw-border",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]