mirror of
https://github.com/moparisthebest/FireTray
synced 2024-12-22 05:48:49 -05:00
oops... forgot to add pangocairo.jsm needed since ctypes-utils.jsm change
This commit is contained in:
parent
f6549e4211
commit
785f2dad77
22
src/modules/ctypes/pangocairo.jsm
Normal file
22
src/modules/ctypes/pangocairo.jsm
Normal file
@ -0,0 +1,22 @@
|
||||
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
|
||||
var EXPORTED_SYMBOLS = [ "pangocairo" ];
|
||||
|
||||
const PANGOCAIRO_LIBNAME = "pangocairo-1.0";
|
||||
const PANGOCAIRO_ABIS = [ 0 ];
|
||||
|
||||
const Cu = Components.utils;
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
|
||||
Cu.import("resource://gre/modules/ctypes.jsm");
|
||||
Cu.import("resource://firetray/ctypes/ctypes-utils.jsm");
|
||||
Cu.import("resource://firetray/ctypes/cairo.jsm");
|
||||
Cu.import("resource://firetray/ctypes/gobject.jsm");
|
||||
Cu.import("resource://firetray/ctypes/pango.jsm");
|
||||
|
||||
function pangocairo_defines(lib) {
|
||||
lib.lazy_bind("pango_cairo_show_layout", ctypes.void_t, cairo.cairo_t.ptr, pango.PangoLayout.ptr);
|
||||
}
|
||||
|
||||
new ctypes_library(PANGOCAIRO_LIBNAME, PANGOCAIRO_ABIS, pangocairo_defines, this);
|
Loading…
Reference in New Issue
Block a user