zvtterm and gnome_config_get_int



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear All,

I've just started hacking with Gnome and I'd like to be able to change
the "darkening" of transparent pixmaps in gnome-terminals.

My patch against 1.2.13 currently looks like:

- --- gnome-libs-1.2.13/zvt/zvtterm.c.zvtbackground	Tue May  7 11:14:18 2002
+++ gnome-libs-1.2.13/zvt/zvtterm.c	Tue May  7 11:14:06 2002
@@ -3647,7 +3647,7 @@
~   mod.contrast=256;
~   mod.gamma=256;
~   if(shaded)
- -    mod.brightness=190;
+    mod.brightness=220;
~   else
~     mod.brightness=256;

@@ -3699,7 +3699,7 @@
~     return NULL;

~   mod.contrast = 256;
- -  mod.brightness = 190;
+  mod.brightness = 220;
~   mod.gamma = 256;
~   gdk_imlib_set_image_modifier (iim, &mod);
~   gdk_imlib_render (iim, iim->rgb_width, iim->rgb_height);

But I'd sooner replace the '190' with something like
gnome_config_get_int ("zvtshading=190")

Now this compiles but then doesn't link.

Q: How do I get zvtterm to link dynamically to libgnome?
~   What should I do in gnome-libs-1.2.13/zvt/Makefile.am?

TIA

Craig.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE82lFXBIRM2chQkvERApP4AJ9GlcF3SlY1q/CeeFY71q2IVuoxcACcDbif
MR5k+gRRw2IjpQT62eAwpA4=
=Y64A
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]