Commit 624b37db authored by Tom Anderson's avatar Tom Anderson Committed by Commit Bot

Fix Gtk2 build

R=erg

Change-Id: I7707cf02b88a08e416d2fc0a17bfd75b918fe42c
Reviewed-on: https://chromium-review.googlesource.com/894993Reviewed-by: default avatarElliot Glaysher <erg@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533330}
parent cf948c21
...@@ -56,14 +56,6 @@ void CommonInitFromCommandLine(const base::CommandLine& command_line, ...@@ -56,14 +56,6 @@ void CommonInitFromCommandLine(const base::CommandLine& command_line,
} }
} }
using GtkSetState = void (*)(GtkWidgetPath*, gint, GtkStateFlags);
PROTECTED_MEMORY_SECTION base::ProtectedMemory<GtkSetState>
_gtk_widget_path_iter_set_state;
using GtkSetObjectName = void (*)(GtkWidgetPath*, gint, const char*);
PROTECTED_MEMORY_SECTION base::ProtectedMemory<GtkSetObjectName>
_gtk_widget_path_iter_set_object_name;
} // namespace } // namespace
namespace libgtkui { namespace libgtkui {
...@@ -245,6 +237,14 @@ float GetDeviceScaleFactor() { ...@@ -245,6 +237,14 @@ float GetDeviceScaleFactor() {
return linux_ui ? linux_ui->GetDeviceScaleFactor() : 1; return linux_ui ? linux_ui->GetDeviceScaleFactor() : 1;
} }
using GtkSetState = void (*)(GtkWidgetPath*, gint, GtkStateFlags);
PROTECTED_MEMORY_SECTION base::ProtectedMemory<GtkSetState>
_gtk_widget_path_iter_set_state;
using GtkSetObjectName = void (*)(GtkWidgetPath*, gint, const char*);
PROTECTED_MEMORY_SECTION base::ProtectedMemory<GtkSetObjectName>
_gtk_widget_path_iter_set_object_name;
} // namespace } // namespace
void* GetGdkSharedLibrary() { void* GetGdkSharedLibrary() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment