[geany/geany] 394f22: Load GTK3 version of the VTE library when built against GTK3
Colomban Wendling
git-noreply at geany.org
Tue Jan 29 14:35:24 UTC 2013
Branch: refs/heads/gtk3-support
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 08 Oct 2012 18:08:07 UTC
Commit: 394f223b493a4be4185ca35a524bb69f67b3cea8
https://github.com/geany/geany/commit/394f223b493a4be4185ca35a524bb69f67b3cea8
Log Message:
-----------
Load GTK3 version of the VTE library when built against GTK3
Modified Paths:
--------------
src/vte.c
Modified: src/vte.c
10 files changed, 8 insertions(+), 2 deletions(-)
===================================================================
@@ -200,8 +200,14 @@ void vte_init(void)
if (module == NULL)
{
gint i;
- const gchar *sonames[] = { "libvte.so", "libvte.so.4",
- "libvte.so.8", "libvte.so.9", NULL };
+ const gchar *sonames[] = {
+#if GTK_CHECK_VERSION(3, 0, 0)
+ "libvte2_90.so", "libvte2_90.so.9",
+#else
+ "libvte.so", "libvte.so.4", "libvte.so.8", "libvte.so.9",
+#endif
+ NULL
+ };
for (i = 0; sonames[i] != NULL && module == NULL; i++)
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list