summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-31 17:04:39 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-31 18:02:46 +0100
commitc9cdaf5ad5b772ab583fbef35f09aac2a443911c (patch)
treeb6e0e0a7bd77ac81d30f84a74daa77af72061060
parent610c347727e894a7fb0f8555bf5f6a44c3f70e97 (diff)
downloadcontrol-center-c9cdaf5ad5b772ab583fbef35f09aac2a443911c.tar
control-center-c9cdaf5ad5b772ab583fbef35f09aac2a443911c.tar.gz
control-center-c9cdaf5ad5b772ab583fbef35f09aac2a443911c.tar.bz2
control-center-c9cdaf5ad5b772ab583fbef35f09aac2a443911c.tar.xz
control-center-c9cdaf5ad5b772ab583fbef35f09aac2a443911c.zip
setup Pango::Cairo
needed for using Pango::Cairo::show_layout()
-rwxr-xr-xcontrol-center6
1 files changed, 6 insertions, 0 deletions
diff --git a/control-center b/control-center
index f73aaeeb..652cb311 100755
--- a/control-center
+++ b/control-center
@@ -32,6 +32,7 @@ use detect_devices;
use lang;
use feature 'state';
use POSIX qw(:signal_h :sys_utsname_h :math_h :sys_wait_h :unistd_h);
+use Glib::Object::Introspection;
POSIX::sigprocmask(SIG_BLOCK, POSIX::SigSet->new(SIGCHLD));
@@ -43,6 +44,11 @@ use Gtk3::WebKit2;
use MDV::Control_Center;
+Glib::Object::Introspection->setup (
+ basename => 'PangoCairo',
+ version => '1.0',
+ package => 'Pango::Cairo');
+
my (%tool_pids, %tool_feedback, $gurpmi_pid);
my ($conffile, $class_install) = ('/etc/mcc.conf', '/etc/sysconfig/system');