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

Side by Side Diff: chrome/browser/ui/libgtkui/chrome_gtk_frame.cc

Issue 2707313002: Gtk: Change NULL to nullptr (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/libgtkui/chrome_gtk_frame.h" 5 #include "chrome/browser/ui/libgtkui/chrome_gtk_frame.h"
6 6
7 G_GNUC_BEGIN_IGNORE_DEPRECATIONS 7 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
8 8
9 G_BEGIN_DECLS 9 G_BEGIN_DECLS
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 "Scrollbar Trough Color", 140 "Scrollbar Trough Color",
141 "The background color of the slider track", 141 "The background color of the slider track",
142 GDK_TYPE_COLOR, 142 GDK_TYPE_COLOR,
143 G_PARAM_READABLE)); 143 G_PARAM_READABLE));
144 } 144 }
145 145
146 static void chrome_gtk_frame_init(ChromeGtkFrame* frame) { 146 static void chrome_gtk_frame_init(ChromeGtkFrame* frame) {
147 } 147 }
148 148
149 GtkWidget* chrome_gtk_frame_new(void) { 149 GtkWidget* chrome_gtk_frame_new(void) {
150 return GTK_WIDGET(g_object_new(chrome_gtk_frame_get_type(), 150 return GTK_WIDGET(g_object_new(chrome_gtk_frame_get_type(), "type",
151 "type", GTK_WINDOW_TOPLEVEL, 151 GTK_WINDOW_TOPLEVEL, nullptr));
152 NULL));
153 } 152 }
154 153
155 G_END_DECLS 154 G_END_DECLS
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/app_indicator_icon_menu.cc ('k') | chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698