aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favicon-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-09-09 16:27:05 +0800
committerChristian Persch <chpe@src.gnome.org>2003-09-09 16:27:05 +0800
commitb367752ed56a64c191ee8a4d431293dda52ac579 (patch)
treebe33fb3542233b5f771516f05d393628addd0585 /src/ephy-favicon-action.c
parentea1fa38ea96a167de2f80b07ebaad54ce36477ec (diff)
downloadgsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.gz
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.bz2
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.lz
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.xz
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.zst
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.zip
gtk+ now supports invisible event boxes. Remove our custom implementation
2003-09-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-event-box.c: * lib/widgets/ephy-event-box.h: * src/ephy-favicon-action.c: (create_tool_item): * src/ephy-notebook.c: (build_tab_label): * src/statusbar.c: (create_statusbar_security_icon): gtk+ now supports invisible event boxes. Remove our custom implementation and use gtk+ api instead.
Diffstat (limited to 'src/ephy-favicon-action.c')
-rw-r--r--src/ephy-favicon-action.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c
index 4b8b290fb..1e575fd77 100644
--- a/src/ephy-favicon-action.c
+++ b/src/ephy-favicon-action.c
@@ -24,12 +24,12 @@
#include "ephy-dnd.h"
#include "ephy-favicon-cache.h"
#include "ephy-shell.h"
-#include "ephy-event-box.h"
#include "ephy-debug.h"
#include <gtk/gtktoolitem.h>
#include <gtk/gtkimage.h>
#include <gtk/gtkstock.h>
+#include <gtk/gtkeventbox.h>
static GtkTargetEntry url_drag_types [] =
{
@@ -136,7 +136,8 @@ create_tool_item (GtkAction *action)
item = GTK_WIDGET (gtk_tool_item_new ());
- ebox = ephy_event_box_new ();
+ ebox = gtk_event_box_new ();
+ gtk_event_box_set_visible_window (GTK_EVENT_BOX (ebox), FALSE);
image = gtk_image_new ();
gtk_container_add (GTK_CONTAINER (ebox), image);
gtk_container_set_border_width (GTK_CONTAINER (ebox), 2);