Ejemplo n.º 1
0
NS_IMETHODIMP
nsPrintSettingsGTK::SetResolution(int32_t aResolution)
{
    gtk_print_settings_set_resolution(mPrintSettings, aResolution);
    return NS_OK;
}
Ejemplo n.º 2
0
static VALUE
rg_set_resolution(VALUE self, VALUE resolution)
{
    gtk_print_settings_set_resolution(_SELF(self), NUM2INT(resolution));
    return self;
}