Merge lp:~unity-team/unity/unity.fix_801428 into lp:unity
Proposed by
Sam Spilsbury
Status: | Merged |
---|---|
Merged at revision: | 1258 |
Proposed branch: | lp:~unity-team/unity/unity.fix_801428 |
Merge into: | lp:unity |
Diff against target: |
197 lines (+104/-15) 9 files modified
plugins/gtkloader/CMakeLists.txt (+5/-0) plugins/gtkloader/gtkloader.xml.in (+7/-0) plugins/gtkloader/src/gtkloader.cpp (+46/-0) plugins/gtkloader/src/gtkloader.h (+42/-0) plugins/unitydialog/CMakeLists.txt (+1/-1) plugins/unitydialog/src/unitydialog.cpp (+1/-12) plugins/unitydialog/unitydialog.xml.in (+1/-0) plugins/unityshell/src/unityshell.cpp (+0/-2) plugins/unityshell/unityshell.xml.in (+1/-0) |
To merge this branch: | bzr merge lp:~unity-team/unity/unity.fix_801428 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Biscaro (community) | Approve | ||
Unity Team | Pending | ||
Review via email: mp+65761@code.launchpad.net |
Description of the change
Fixes LP#801428 , work around a hang in gtk when doing gtk_init_check from multiple dlopen contexts
To post a comment you must log in.
Some minor details:
+ XSetErrorHandler (old_handler);
You're calling this method twice. I think it should be called just once, after loading gtk, right?
+ compLogMessage ("unitydialog", CompLogLevelError, "Couldn't initialize gtk");
The compiz plugin here is gtkloader, not unitydialog.
+bool nVTable: :init ()
+GTKLoaderPlugi
The method should return a bool, even when the plugin is loaded successfully. This means that you should add a 'return true' as the last line of method (GCC 4.6 generates a warning about this).