* [gentoo-commits] gentoo-x86 commit in media-gfx/pornview/files: pornview-0.2.0_pre1-new-gtk-object-system.diff
@ 2009-09-28 23:40 Victor Ostorga (vostorga)
0 siblings, 0 replies; only message in thread
From: Victor Ostorga (vostorga) @ 2009-09-28 23:40 UTC (permalink / raw
To: gentoo-commits
vostorga 09/09/28 23:40:37
Added: pornview-0.2.0_pre1-new-gtk-object-system.diff
Log:
Fixing object system definitions, patch thanks to <tbartdev@gmx-topmail.de> bug 247733
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.1 media-gfx/pornview/files/pornview-0.2.0_pre1-new-gtk-object-system.diff
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/pornview/files/pornview-0.2.0_pre1-new-gtk-object-system.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/pornview/files/pornview-0.2.0_pre1-new-gtk-object-system.diff?rev=1.1&content-type=text/plain
Index: pornview-0.2.0_pre1-new-gtk-object-system.diff
===================================================================
--- pornview-0.2pre1.orig/src/support/widgets/gtkcellrendererpixmap.c
+++ pornview-0.2pre1/src/support/widgets/gtkcellrendererpixmap.c
@@ -59,10 +59,10 @@
PROP_MASK_EXPANDER_CLOSED
};
-GtkType
+GType
gtk_cell_renderer_pixmap_get_type (void)
{
- static GtkType cell_pixmap_type = 0;
+ static GType cell_pixmap_type = 0;
if (!cell_pixmap_type)
{
--- pornview-0.2pre1.orig/src/support/widgets/gtkcellrendererpixmap.h
+++ pornview-0.2pre1/src/support/widgets/gtkcellrendererpixmap.h
@@ -32,11 +32,11 @@
#define GTK_TYPE_CELL_RENDERER_PIXMAP (gtk_cell_renderer_pixmap_get_type ())
-#define GTK_CELL_RENDERER_PIXMAP(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CELL_RENDERER_PIXMAP, GtkCellRendererPixmap))
-#define GTK_CELL_RENDERER_PIXMAP_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PIXMAP, GtkCellRendererPixmapClass))
-#define GTK_IS_CELL_RENDERER_PIXMAP(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PIXMAP))
-#define GTK_IS_CELL_RENDERER_PIXMAP_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PIXMAP))
-#define GTK_CELL_RENDERER_PIXMAP_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PIXMAP, GtkCellRendererPixmapClass))
+#define GTK_CELL_RENDERER_PIXMAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PIXMAP, GtkCellRendererPixmap))
+#define GTK_CELL_RENDERER_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PIXMAP, GtkCellRendererPixmapClass))
+#define GTK_IS_CELL_RENDERER_PIXMAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PIXMAP))
+#define GTK_IS_CELL_RENDERER_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PIXMAP))
+#define GTK_CELL_RENDERER_PIXMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PIXMAP, GtkCellRendererPixmapClass))
typedef struct GtkCellRendererPixmap_Tag GtkCellRendererPixmap;
typedef struct GtkCellRendererPixmapClass_Tag GtkCellRendererPixmapClass;
@@ -66,7 +66,7 @@
void (*_gtk_reserved4) (void);
};
- GtkType gtk_cell_renderer_pixmap_get_type (void);
+ GType gtk_cell_renderer_pixmap_get_type (void);
GtkCellRenderer *gtk_cell_renderer_pixmap_new (void);
#ifdef __cplusplus
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-28 23:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 23:40 [gentoo-commits] gentoo-x86 commit in media-gfx/pornview/files: pornview-0.2.0_pre1-new-gtk-object-system.diff Victor Ostorga (vostorga)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox