summaryrefslogtreecommitdiffstats
path: root/app/gfx
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 17:47:41 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 17:47:41 +0000
commite5a2acec061119fab8f5b0a05e79702ae03670dc (patch)
tree24cfd3e9144b9116a060187e5525d21e74363117 /app/gfx
parent4f0872bb0ff3bfaca9f765c64a6d76598daf4ed4 (diff)
downloadchromium_src-e5a2acec061119fab8f5b0a05e79702ae03670dc.zip
chromium_src-e5a2acec061119fab8f5b0a05e79702ae03670dc.tar.gz
chromium_src-e5a2acec061119fab8f5b0a05e79702ae03670dc.tar.bz2
Remove redundant casts in g_signal_connect() throughout all gtk code we have.
BUG=none TEST=none Review URL: http://codereview.chromium.org/600033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/gfx')
-rw-r--r--app/gfx/font_gtk.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/gfx/font_gtk.cc b/app/gfx/font_gtk.cc
index e5855c9..a47d304 100644
--- a/app/gfx/font_gtk.cc
+++ b/app/gfx/font_gtk.cc
@@ -79,9 +79,7 @@ Font::Font() {
GtkSettings* settings = gtk_settings_get_default();
gchar* font_name = NULL;
- g_object_get(G_OBJECT(settings),
- "gtk-font-name", &font_name,
- NULL);
+ g_object_get(settings, "gtk-font-name", &font_name, NULL);
// Temporary CHECK for helping track down
// http://code.google.com/p/chromium/issues/detail?id=12530