[epiphany] ephy-find-toolbar: Remove cast macros from places where it's not needed
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-find-toolbar: Remove cast macros from places where it's not needed
- Date: Mon, 2 Sep 2013 13:42:56 +0000 (UTC)
commit 7c5b4005450fc59ac287b351c1158f29c36f96a7
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Mon Sep 2 16:40:07 2013 +0300
ephy-find-toolbar: Remove cast macros from places where it's not needed
https://bugzilla.gnome.org/show_bug.cgi?id=707086
src/ephy-find-toolbar.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 8cbf467..fd04673 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -154,8 +154,8 @@ set_status (EphyFindToolbar *toolbar,
break;
}
- gtk_widget_set_sensitive (GTK_WIDGET (priv->prev), result != EPHY_FIND_RESULT_NOTFOUND);
- gtk_widget_set_sensitive (GTK_WIDGET (priv->next), result != EPHY_FIND_RESULT_NOTFOUND);
+ gtk_widget_set_sensitive (priv->prev, result != EPHY_FIND_RESULT_NOTFOUND);
+ gtk_widget_set_sensitive (priv->next, result != EPHY_FIND_RESULT_NOTFOUND);
g_object_set (priv->entry,
"primary-icon-name", icon_name,
@@ -174,8 +174,8 @@ clear_status (EphyFindToolbar *toolbar)
"primary-icon-name", "edit-find-symbolic",
NULL);
- gtk_widget_set_sensitive (GTK_WIDGET (priv->prev), FALSE);
- gtk_widget_set_sensitive (GTK_WIDGET (priv->next), FALSE);
+ gtk_widget_set_sensitive (priv->prev, FALSE);
+ gtk_widget_set_sensitive (priv->next, FALSE);
if (priv->web_view == NULL) return;
#ifdef HAVE_WEBKIT2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]