aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-06-11 17:12:08 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-06-11 17:12:08 +0800
commit4abc9f5279b680d50627b9d7f884d3c8aa080e7f (patch)
tree0917b891e0cca64bdd899256d7176645c2c05e16 /src
parentc4e887a6f01546a054b95ec78e407e326fd45c1a (diff)
downloadgsoc2013-epiphany-4abc9f5279b680d50627b9d7f884d3c8aa080e7f.tar
gsoc2013-epiphany-4abc9f5279b680d50627b9d7f884d3c8aa080e7f.tar.gz
gsoc2013-epiphany-4abc9f5279b680d50627b9d7f884d3c8aa080e7f.tar.bz2
gsoc2013-epiphany-4abc9f5279b680d50627b9d7f884d3c8aa080e7f.tar.lz
gsoc2013-epiphany-4abc9f5279b680d50627b9d7f884d3c8aa080e7f.tar.xz
gsoc2013-epiphany-4abc9f5279b680d50627b9d7f884d3c8aa080e7f.tar.zst
gsoc2013-epiphany-4abc9f5279b680d50627b9d7f884d3c8aa080e7f.zip
ephy-window: simplify window_state_event() chain-up
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 3f5666617..337df3dcb 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3045,12 +3045,10 @@ ephy_window_state_event (GtkWidget *widget,
{
EphyWindow *window = EPHY_WINDOW (widget);
EphyWindowPrivate *priv = window->priv;
- gboolean (* window_state_event) (GtkWidget *, GdkEventWindowState *);
- window_state_event = GTK_WIDGET_CLASS (ephy_window_parent_class)->window_state_event;
- if (window_state_event)
+ if (GTK_WIDGET_CLASS (ephy_window_parent_class)->window_state_event)
{
- window_state_event (widget, event);
+ GTK_WIDGET_CLASS (ephy_window_parent_class)->window_state_event (widget, event);
}
if (event->changed_mask & GDK_WINDOW_STATE_FULLSCREEN)