summaryrefslogtreecommitdiff
path: root/gtk/gdk-base.defs
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2006-07-10 09:51:55 +0000
committerJohn Finlay <finlay@src.gnome.org>2006-07-10 09:51:55 +0000
commit81d1d5fe98d928212f6607705d915845f0ba9cca (patch)
tree97fe7947cc16f9b621250aac2de99776dca36dce /gtk/gdk-base.defs
parentf6f0ccb446d3f2e54b5e9dc4ff6265724aa51eef (diff)
downloadpygtk-81d1d5fe98d928212f6607705d915845f0ba9cca.tar.gz
Change to function to resolve conflict with gdk_colormap_change.
* gtk/gdk-base.defs (gdk_color_change): Change to function to resolve conflict with gdk_colormap_change. (gdk_colormap_change): Note as deprecated.
Diffstat (limited to 'gtk/gdk-base.defs')
-rw-r--r--gtk/gdk-base.defs15
1 files changed, 3 insertions, 12 deletions
diff --git a/gtk/gdk-base.defs b/gtk/gdk-base.defs
index 079ad869..e3ed5e47 100644
--- a/gtk/gdk-base.defs
+++ b/gtk/gdk-base.defs
@@ -328,6 +328,7 @@
(define-method change
(of-object "GdkColormap")
+ (deprecated "deprecated")
(c-name "gdk_colormap_change")
(return-type "none")
(parameters
@@ -456,16 +457,6 @@
(return-type "gint")
)
-;(define-method change
-; (deprecated "deprecated")
-; (of-object "GdkColormap")
-; (c-name "gdk_colormap_change")
-; (return-type "none")
-; (parameters
-; '("gint" "ncolors")
-; )
-;)
-
(define-method alloc_color
(of-object "GdkColormap")
(c-name "gdk_colormap_alloc_color")
@@ -537,12 +528,12 @@
)
)
-(define-method change
+(define-function color_change
(deprecated "deprecated")
- (of-object "GdkColormap")
(c-name "gdk_color_change")
(return-type "gint")
(parameters
+ '("GdkColormap*" "colormap")
'("GdkColor*" "color")
)
)