plugins/perl/libgaimperl.c

Tue, 14 Feb 2006 05:43:43 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Tue, 14 Feb 2006 05:43:43 +0000
changeset 13281
3558cb15ebb9
parent 12418
77abb6df8ee6
permissions
-rw-r--r--

[gaim-migrate @ 15646]
Always show a vertical scrollbar on conversations imhtmls. This will solve the shrinking conversation window bug. I chose this approach instead of saving the size of the window (as I had previous talked about), as this prevents the contents of the scrollback from rewrapping when the scrollbars appear or disappear. It also just seems to feel like the right thing to do, but maybe that's me being lazy.

11862
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11120
diff changeset
1 #include <gmodule.h>
12418
77abb6df8ee6 [gaim-migrate @ 14725]
Richard Laager <rlaager@pidgin.im>
parents: 11862
diff changeset
2 void __attribute__ ((constructor)) my_init(void);
77abb6df8ee6 [gaim-migrate @ 14725]
Richard Laager <rlaager@pidgin.im>
parents: 11862
diff changeset
3
77abb6df8ee6 [gaim-migrate @ 14725]
Richard Laager <rlaager@pidgin.im>
parents: 11862
diff changeset
4 void __attribute__ ((constructor)) my_init() {
77abb6df8ee6 [gaim-migrate @ 14725]
Richard Laager <rlaager@pidgin.im>
parents: 11862
diff changeset
5 /* Very evil hack...puts perl.so's symbols in the global table
77abb6df8ee6 [gaim-migrate @ 14725]
Richard Laager <rlaager@pidgin.im>
parents: 11862
diff changeset
6 * but does not create a circular dependancy because g_module_open
77abb6df8ee6 [gaim-migrate @ 14725]
Richard Laager <rlaager@pidgin.im>
parents: 11862
diff changeset
7 * will only open the library once. */
11120
beeb901ca8a9 [gaim-migrate @ 13176]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
8 g_module_open("perl.so", 0);
beeb901ca8a9 [gaim-migrate @ 13176]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
9 }

mercurial