[pygtk/gtk-3.0: 31/55] Deprecated: Remove GtkPreview
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk/gtk-3.0: 31/55] Deprecated: Remove GtkPreview
- Date: Sat, 17 Jul 2010 00:27:00 +0000 (UTC)
commit 18bac367cb92153ddd19e0a712bb3dfb86325f51
Author: John Stowers <john stowers gmail com>
Date: Sat Jul 10 21:43:01 2010 +1200
Deprecated: Remove GtkPreview
gtk/gtk-base-types.defs | 17 ------
gtk/gtk-base.defs | 146 -----------------------------------------------
2 files changed, 0 insertions(+), 163 deletions(-)
---
diff --git a/gtk/gtk-base-types.defs b/gtk/gtk-base-types.defs
index e042171..ad12e57 100644
--- a/gtk/gtk-base-types.defs
+++ b/gtk/gtk-base-types.defs
@@ -547,16 +547,6 @@
)
)
-(define-enum PreviewType
- (in-module "Gtk")
- (c-name "GtkPreviewType")
- (gtype-id "GTK_TYPE_PREVIEW_TYPE")
- (values
- '("color" "GTK_PREVIEW_COLOR")
- '("grayscale" "GTK_PREVIEW_GRAYSCALE")
- )
-)
-
(define-enum ProgressBarOrientation
(in-module "Gtk")
(c-name "GtkProgressBarOrientation")
@@ -1955,13 +1945,6 @@
(gtype-id "GTK_TYPE_PLUG")
)
-(define-object Preview
- (in-module "Gtk")
- (parent "GtkWidget")
- (c-name "GtkPreview")
- (gtype-id "GTK_TYPE_PREVIEW")
-)
-
(define-object Progress
(in-module "Gtk")
(parent "GtkWidget")
diff --git a/gtk/gtk-base.defs b/gtk/gtk-base.defs
index 27a5e6a..0bd665f 100644
--- a/gtk/gtk-base.defs
+++ b/gtk/gtk-base.defs
@@ -11556,152 +11556,6 @@
(return-type "none")
)
-
-;; From /opt/gtk2/include/gtk-2.0/gtk/gtkpreview.h
-
-(define-function gtk_preview_get_type
- (c-name "gtk_preview_get_type")
- (return-type "GType")
-)
-
-(define-function preview_uninit
- (c-name "gtk_preview_uninit")
- (return-type "none")
- (deprecated "use GtkPixbuf")
-)
-
-(define-function gtk_preview_new
- (c-name "gtk_preview_new")
- (is-constructor-of "GtkPreview")
- (return-type "GtkWidget*")
- (parameters
- '("GtkPreviewType" "type")
- )
- (deprecated "use GtkDrawingArea")
-)
-
-(define-method size
- (of-object "GtkPreview")
- (c-name "gtk_preview_size")
- (return-type "none")
- (parameters
- '("gint" "width")
- '("gint" "height")
- )
-)
-
-(define-method put
- (of-object "GtkPreview")
- (c-name "gtk_preview_put")
- (return-type "none")
- (parameters
- '("GdkWindow*" "window")
- '("GdkGC*" "gc")
- '("gint" "srcx")
- '("gint" "srcy")
- '("gint" "destx")
- '("gint" "desty")
- '("gint" "width")
- '("gint" "height")
- )
-)
-
-(define-method draw_row
- (of-object "GtkPreview")
- (c-name "gtk_preview_draw_row")
- (return-type "none")
- (parameters
- '("guchar*" "data")
- '("gint" "x")
- '("gint" "y")
- '("gint" "w")
- )
-)
-
-(define-method set_expand
- (of-object "GtkPreview")
- (c-name "gtk_preview_set_expand")
- (return-type "none")
- (parameters
- '("gboolean" "expand")
- )
-)
-
-(define-function preview_set_gamma
- (c-name "gtk_preview_set_gamma")
- (return-type "none")
- (parameters
- '("double" "gamma")
- )
- (deprecated "use GtkPixbuf")
-)
-
-(define-function preview_set_color_cube
- (c-name "gtk_preview_set_color_cube")
- (return-type "none")
- (parameters
- '("guint" "nred_shades")
- '("guint" "ngreen_shades")
- '("guint" "nblue_shades")
- '("guint" "ngray_shades")
- )
- (deprecated "use GtkPixbuf")
-)
-
-(define-function preview_set_install_cmap
- (c-name "gtk_preview_set_install_cmap")
- (return-type "none")
- (parameters
- '("gint" "install_cmap")
- )
- (deprecated "use GtkPixbuf")
-)
-
-(define-function preview_set_reserved
- (c-name "gtk_preview_set_reserved")
- (return-type "none")
- (parameters
- '("gint" "nreserved")
- )
- (deprecated "use GtkPixbuf")
-)
-
-(define-method set_dither
- (of-object "GtkPreview")
- (c-name "gtk_preview_set_dither")
- (return-type "none")
- (parameters
- '("GdkRgbDither" "dither")
- )
- (deprecated "use GtkPixbuf")
-)
-
-(define-function preview_get_visual
- (c-name "gtk_preview_get_visual")
- (return-type "GdkVisual*")
- (deprecated "use GtkPixbuf")
-)
-
-(define-function preview_get_cmap
- (c-name "gtk_preview_get_cmap")
- (return-type "GdkColormap*")
- (deprecated "use GtkPixbuf")
-)
-
-(define-function preview_get_info
- (c-name "gtk_preview_get_info")
- (return-type "GtkPreviewInfo*")
- (deprecated "use GtkPixbuf")
-)
-
-(define-function preview_reset
- (c-name "gtk_preview_reset")
- (return-type "none")
- (deprecated "use GtkPixbuf")
-)
-
-
-
;; From /opt/gtk2/include/gtk-2.0/gtk/gtkprivate.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]