[perl-Gtk3] Require Cairo::GObject and load it automatically
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk3] Require Cairo::GObject and load it automatically
- Date: Sun, 22 Apr 2012 11:17:19 +0000 (UTC)
commit 30af51e0d562b3ec5b1238673a109de28941bc13
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Sun Apr 22 13:12:07 2012 +0200
Require Cairo::GObject and load it automatically
Some API, like signals involvinv cairo types, needs it to be loaded.
NEWS | 1 +
dist.ini | 1 +
lib/Gtk3.pm | 1 +
t/zz-GtkCellRendererIface.t | 1 -
4 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index c8af711..6d4b723 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
{{$NEXT}}
+* Require Cairo::GObject and load it automatically.
* Add overrides for Gtk3::Builder and implement its connect_signals.
* Add overrides for Gtk3::Menu::popup and popup_for_device.
diff --git a/dist.ini b/dist.ini
index 013bd27..70d2859 100644
--- a/dist.ini
+++ b/dist.ini
@@ -15,6 +15,7 @@ copyright_year = 2011
[PkgVersion]
[Prereqs]
+Cairo::GObject = 1.000
Glib::Object::Introspection = 0.002
[NextRelease]
diff --git a/lib/Gtk3.pm b/lib/Gtk3.pm
index 62f9ef3..88b6de9 100644
--- a/lib/Gtk3.pm
+++ b/lib/Gtk3.pm
@@ -3,6 +3,7 @@ package Gtk3;
use strict;
use warnings;
use Carp qw/croak/;
+use Cairo::GObject;
use Glib::Object::Introspection;
use Exporter;
diff --git a/t/zz-GtkCellRendererIface.t b/t/zz-GtkCellRendererIface.t
index 1eb7c0d..9f5efde 100644
--- a/t/zz-GtkCellRendererIface.t
+++ b/t/zz-GtkCellRendererIface.t
@@ -5,7 +5,6 @@ BEGIN { require './t/inc/setup.pl' }
use strict;
use warnings;
use Glib ':constants';
-use Cairo::GObject;
plan tests => 15;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]