Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: chrome/browser/ui/libgtkui/gtk_util.h

Issue 2627153003: Gtk3: Fix separator color on Gtk3.20 (Closed)
Patch Set: Add GtkVersionCheck Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/libgtkui/gtk_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/gtk_util.h
diff --git a/chrome/browser/ui/libgtkui/gtk_util.h b/chrome/browser/ui/libgtkui/gtk_util.h
index 4e722a4cb276f98e2a08f326366e0cd24227f586..f63360143982368afb1ec12fadc057f70c43e86a 100644
--- a/chrome/browser/ui/libgtkui/gtk_util.h
+++ b/chrome/browser/ui/libgtkui/gtk_util.h
@@ -68,6 +68,10 @@ aura::Window* GetAuraTransientParent(GtkWidget* dialog);
void ClearAuraTransientParent(GtkWidget* dialog);
#if GTK_MAJOR_VERSION > 2
+// Returns true iff the runtime version of Gtk used meets
+// |major|.|minor|.|micro|.
+bool GtkVersionCheck(int major, int minor = 0, int micro = 0);
+
template <typename T>
class ScopedGObject {
public:
« no previous file with comments | « no previous file | chrome/browser/ui/libgtkui/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698