summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins
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 /webkit/glue/plugins
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 'webkit/glue/plugins')
-rw-r--r--webkit/glue/plugins/gtk_plugin_container_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/gtk_plugin_container_manager.cc b/webkit/glue/plugins/gtk_plugin_container_manager.cc
index 7528891..2bc9f40 100644
--- a/webkit/glue/plugins/gtk_plugin_container_manager.cc
+++ b/webkit/glue/plugins/gtk_plugin_container_manager.cc
@@ -28,11 +28,11 @@ GtkWidget* GtkPluginContainerManager::CreatePluginContainer(
//
// Note, the RealizeCallback relies on the plugin_window_to_widget_map_ to
// have the mapping.
- g_signal_connect(G_OBJECT(widget), "realize",
+ g_signal_connect(widget, "realize",
G_CALLBACK(RealizeCallback), this);
// Don't destroy the widget when the plug is removed.
- g_signal_connect(G_OBJECT(widget), "plug-removed",
+ g_signal_connect(widget, "plug-removed",
G_CALLBACK(gtk_true), NULL);
gtk_container_add(GTK_CONTAINER(host_widget_), widget);