[gimp] pygimp: Mark some functions and methods as deprecated
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] pygimp: Mark some functions and methods as deprecated
- Date: Wed, 7 Dec 2011 05:04:55 +0000 (UTC)
commit 20f34d3e111b3dcb7c3630d188090abc50764eae
Author: Mukund Sivaraman <muks banu com>
Date: Wed Dec 7 10:30:35 2011 +0530
pygimp: Mark some functions and methods as deprecated
plug-ins/pygimp/gimpui.defs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpui.defs b/plug-ins/pygimp/gimpui.defs
index e0efe32..18c9b7f 100644
--- a/plug-ins/pygimp/gimpui.defs
+++ b/plug-ins/pygimp/gimpui.defs
@@ -2684,6 +2684,7 @@
(define-function gimp_unit_menu_get_type
(c-name "gimp_unit_menu_get_type")
(return-type "GType")
+ (deprecated "use gimpui.UnitComboBox instead")
)
(define-function gimp_unit_menu_new
@@ -2697,6 +2698,7 @@
'("gboolean" "show_percent")
'("gboolean" "show_custom")
)
+ (deprecated "use gimpui.UnitComboBox instead")
)
(define-method set_unit
@@ -2706,12 +2708,14 @@
(parameters
'("GimpUnit" "unit")
)
+ (deprecated "use gimpui.UnitComboBox instead")
)
(define-method get_unit
(of-object "GimpUnitMenu")
(c-name "gimp_unit_menu_get_unit")
(return-type "GimpUnit")
+ (deprecated "use gimpui.UnitComboBox instead")
)
(define-method set_pixel_digits
@@ -2721,12 +2725,14 @@
(parameters
'("gint" "digits")
)
+ (deprecated "use gimpui.UnitComboBox instead")
)
(define-method get_pixel_digits
(of-object "GimpUnitMenu")
(c-name "gimp_unit_menu_get_pixel_digits")
(return-type "gint")
+ (deprecated "use gimpui.UnitComboBox instead")
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]