Use new glibmm 2.78 API
This commit is contained in:
parent
3e7f1250c5
commit
da7f4fe425
1 changed files with 3 additions and 3 deletions
|
|
@ -6,13 +6,14 @@
|
|||
//
|
||||
#include "ui/platform/linux/ui_window_title_linux.h"
|
||||
|
||||
#include "base/platform/linux/base_linux_glibmm_helper.h"
|
||||
#include "base/platform/linux/base_linux_xdp_utilities.h"
|
||||
|
||||
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
#include "base/platform/linux/base_linux_xsettings.h"
|
||||
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
|
||||
#include <glibmm.h>
|
||||
|
||||
namespace Ui {
|
||||
namespace Platform {
|
||||
namespace internal {
|
||||
|
|
@ -120,8 +121,7 @@ TitleControls::Layout TitleControlsLayout() {
|
|||
|
||||
return GtkKeywordsToTitleControlsLayout(
|
||||
QString::fromStdString(
|
||||
base::Platform::GlibVariantCast<Glib::ustring>(
|
||||
*decorationLayout)));
|
||||
decorationLayout->get_dynamic<Glib::ustring>()));
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue