summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-08-04 15:49:13 -0400
committerEitan Isaacson <eitan@monotonous.org>2011-08-12 09:19:40 +0200
commit3520624be9f81501a6befafcac57983cfebb885e (patch)
treeea375d2b6d23d5e438ef01c6ebf4ed3aab6cdc1e /modules
parent2cc662a32f10ac921426a861f6f4ba453d0c9edd (diff)
downloadcaribou-3520624be9f81501a6befafcac57983cfebb885e.tar.gz
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/gtk3/caribou-module.c4
1 files changed, 1 insertions, 3 deletions
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);
}