From 41c57935db9698f497d42312c20fe1e086fb9a5d Mon Sep 17 00:00:00 2001 From: Lunarmagpie Date: Fri, 10 May 2024 01:28:37 -0400 Subject: [PATCH] Small Change in Docs Great Guide! I noticed there was a small error while reading this. Here is the docs showing this is the proper function name https://lazka.github.io/pgi-docs/#Graphene-1.0/classes/Rect.html#Graphene.Rect.init. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 892a27a..e9c8451 100644 --- a/README.md +++ b/README.md @@ -881,7 +881,7 @@ Here we use: colour = Gdk.RGBA() colour.parse("#e80e0e") - rect = Graphene.Rect().__init__(10, 10, 40, 60) # Add Graphene to your imports. i.e. from gi.repository import Graphene + rect = Graphene.Rect().init(10, 10, 40, 60) # Add Graphene to your imports. i.e. from gi.repository import Graphene s.append_color(colour, rect) ```