From 3520624be9f81501a6befafcac57983cfebb885e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 4 Aug 2011 15:49:13 -0400 Subject: caribou-module: check the GTK version, not glib Checking the glib version causes problems, because we may be compiling against a newer version of glib than gtk2 is linked against, causing it to not load. So just check the gtk version (just to make sure we got the right major version) instead. --- modules/gtk3/caribou-module.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/gtk3/caribou-module.c b/modules/gtk3/caribou-module.c index ab3382e..ad45752 100644 --- a/modules/gtk3/caribou-module.c +++ b/modules/gtk3/caribou-module.c @@ -14,8 +14,6 @@ gtk_module_init (gint *argc, gchar ***argv[]) { G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module) { - return glib_check_version (GLIB_MAJOR_VERSION, - GLIB_MINOR_VERSION, - 0); + return gtk_check_version (GTK_MAJOR_VERSION, 0, 0); } -- cgit v1.2.1