[epiphany] ephy-page-menu: fix warning
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-page-menu: fix warning
- Date: Mon, 16 Jan 2012 21:37:02 +0000 (UTC)
commit eebaf073109f9c3f557d0df63e91b18235f6c665
Author: Xan Lopez <xan igalia com>
Date: Mon Jan 16 22:36:49 2012 +0100
ephy-page-menu: fix warning
src/ephy-page-menu-action.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-page-menu-action.c b/src/ephy-page-menu-action.c
index ae17fff..da2f499 100644
--- a/src/ephy-page-menu-action.c
+++ b/src/ephy-page-menu-action.c
@@ -70,7 +70,7 @@ button_press_cb (GtkWidget *button, GdkEventButton *event, GtkAction *action)
if (!button) {
GSList *l = gtk_action_get_proxies (action);
if (GTK_IS_BUTTON (l->data))
- button = GTK_BUTTON (l->data);
+ button = GTK_WIDGET (l->data);
}
g_return_if_fail (GTK_IS_BUTTON (button));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]