aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYosef Or Boczko <yoseforb@gmail.com>2013-09-02 21:40:07 +0800
committerYosef Or Boczko <yoseforb@gmail.com>2013-09-02 21:41:19 +0800
commit7c5b4005450fc59ac287b351c1158f29c36f96a7 (patch)
tree3119807739defd12864d3921ac2321c267b98285
parent91ee871fceccb61e084f15b1b2b8846d0861ee9b (diff)
downloadgsoc2013-epiphany-7c5b4005450fc59ac287b351c1158f29c36f96a7.tar
gsoc2013-epiphany-7c5b4005450fc59ac287b351c1158f29c36f96a7.tar.gz
gsoc2013-epiphany-7c5b4005450fc59ac287b351c1158f29c36f96a7.tar.bz2
gsoc2013-epiphany-7c5b4005450fc59ac287b351c1158f29c36f96a7.tar.lz
gsoc2013-epiphany-7c5b4005450fc59ac287b351c1158f29c36f96a7.tar.xz
gsoc2013-epiphany-7c5b4005450fc59ac287b351c1158f29c36f96a7.tar.zst
gsoc2013-epiphany-7c5b4005450fc59ac287b351c1158f29c36f96a7.zip
ephy-find-toolbar: Remove cast macros from places where it's not needed
https://bugzilla.gnome.org/show_bug.cgi?id=707086
-rw-r--r--src/ephy-find-toolbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 8cbf46717..fd04673af 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