Gdk::cairo_set_source_color patch

[email protected] (Mark Skilbeck) Wed, 20 Oct 2010 14:01:37 +0100
Newsgroups php.gtk.dev
Message-ID <20101020140137.12999ac4@mark-laptop>
Currently, Gdk::cairo_set_source_color is marked as not static. I don't
understand why this is, as Gdk::cairo_set_source_pixmap is not marked
as static. Unless there's a reason for this, I'll commit the patch
later today.

Mark.
gdk_cairo_set_source_color.diff.txt (text/plain, 452 B)
Index: ext/gtk+/gdk-2.8.overrides
===================================================================
--- ext/gtk+/gdk-2.8.overrides	(revision 304516)
+++ ext/gtk+/gdk-2.8.overrides	(working copy)
@@ -38,8 +38,6 @@
 	zval *cairo_context_zval;
     cairo_context_object *cont;
     
-    NOT_STATIC_METHOD();
-     
 	if(!php_gtk_parse_args(ZEND_NUM_ARGS(),"OO", &cairo_context_zval, php_cairo_get_context_ce(), &php_color, gboxed_ce)) {
 		return;
 	}