From 4abc9f5279b680d50627b9d7f884d3c8aa080e7f Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Mon, 11 Jun 2012 12:12:08 +0300 Subject: ephy-window: simplify window_state_event() chain-up --- src/ephy-window.c | 6 ++---- 1 file 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) -- cgit v1.2.3