From nobody Tue Feb 10 13:34:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578042680; cv=none; d=zohomail.com; s=zohoarc; b=ZOaTg5zdpx+VMkVFevUal2xYZXk7elliW5REFXBCQc2drceXmCVQo3EtW1WzPafU7YhuCKlaJLIx9IPPr37d65ZXxfjQgWhK/Fu3NrMc/nmKj0mHEspCVggO0togdxcQQTt8ZKhx8PpX/eeeE3GyC9MVZOZ0m7XoxS5TcoW+z0c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578042680; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=R063N5ie8o145AAXdc1hIyKgs8ANiq/iY8KELqpfZLw=; b=XIgXac1y3NDiGwJx2yUEmFY5pVtu2CbGBzlFxSVKXC+3/e53suWYXFlWCQoTnBElZOpiM2g8qaAwI1wC4uy6nj5luIo19obs0LRpqNPwoDfJLDFqmbFM6GNo9WTI8SgJWI+MePR0fzBzaSPO+zQXMzEEMFSJsiqhO9X4UWVCS3w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578042680557106.38604669420761; Fri, 3 Jan 2020 01:11:20 -0800 (PST) Received: from localhost ([::1]:50206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inIzH-0003W8-5n for importer@patchew.org; Fri, 03 Jan 2020 04:11:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52102) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inIxm-0001vK-4V for qemu-devel@nongnu.org; Fri, 03 Jan 2020 04:09:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inIxl-0008J0-3O for qemu-devel@nongnu.org; Fri, 03 Jan 2020 04:09:46 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:29258 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inIxk-0008IX-VT for qemu-devel@nongnu.org; Fri, 03 Jan 2020 04:09:45 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-262-gZ2ej1inPTeBq3XLrCmKFg-1; Fri, 03 Jan 2020 04:09:41 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A11A185432D; Fri, 3 Jan 2020 09:09:40 +0000 (UTC) Received: from localhost (ovpn-112-30.ams2.redhat.com [10.36.112.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id DFFA583C09; Fri, 3 Jan 2020 09:09:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578042584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R063N5ie8o145AAXdc1hIyKgs8ANiq/iY8KELqpfZLw=; b=cgcl6uFCYOpEPMwPCeSIxpE0DJWUkInOuWrq5FlaUgX2CEf84UGjuIii0XSowf7QkUTTNY MjRBRTgU78pEfdMKrLjCFM5KgzhBSZn1CIkZ5A+daNlcTKFT8Kis+8NzyDboYksXSGN8Xw A6UoDHc5/J73ooXl8rYq0mp95OpXA18= From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: qemu-devel@nongnu.org Subject: [PULL v2 3/7] ui: add pixman image g_autoptr support Date: Fri, 3 Jan 2020 13:08:49 +0400 Message-Id: <20200103090853.1014627-4-marcandre.lureau@redhat.com> In-Reply-To: <20200103090853.1014627-1-marcandre.lureau@redhat.com> References: <20200103090853.1014627-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: gZ2ej1inPTeBq3XLrCmKFg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Gerd Hoffmann , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Daniel P. Berrang=C3=A9 --- include/ui/qemu-pixman.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index 0668109305..3b7cf70157 100644 --- a/include/ui/qemu-pixman.h +++ b/include/ui/qemu-pixman.h @@ -90,4 +90,6 @@ void qemu_pixman_glyph_render(pixman_image_t *glyph, pixman_color_t *bgcol, int x, int y, int cw, int ch); =20 +G_DEFINE_AUTOPTR_CLEANUP_FUNC(pixman_image_t, qemu_pixman_image_unref) + #endif /* QEMU_PIXMAN_H */ --=20 2.24.0.308.g228f53135a