After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630587 - don't load extensions linked against the wrong gtk
don't load extensions linked against the wrong gtk
Status: RESOLVED DUPLICATE of bug 624244
Product: nautilus
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-25 18:51 UTC by Matthias Clasen
Modified: 2010-09-30 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2010-09-25 18:51:39 UTC
In gtk, we do a check like this:

static void
check_mixed_deps (void)
{
  GModule *module;
  gpointer func;

  module = g_module_open (NULL, 0);

  if (g_module_symbol (module, "gtk_progress_get_type", &func))
    {
      g_error ("GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported");
    }

  g_module_close (module);
}

It would be good to do a similar check in nautilus_module_load to reject modules which link against gtk2.
Comment 1 Cosimo Cecchi 2010-09-30 13:08:26 UTC
Closing this as a duplicate of bug 624244; we need to implement one of the proposed solutions before 3.0.

*** This bug has been marked as a duplicate of bug 624244 ***