aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-09-13 03:07:32 +0800
committerChristian Persch <chpe@src.gnome.org>2007-09-13 03:07:32 +0800
commitdaeeba36086528531a4ca6886a40566627672325 (patch)
tree7d035749bbc7a233a2eda026ae129a0fa6e82f1d /src/ephy-notebook.c
parent67c7003ef91fa462386f474fd28c92c5f77efb49 (diff)
downloadgsoc2013-epiphany-daeeba36086528531a4ca6886a40566627672325.tar
gsoc2013-epiphany-daeeba36086528531a4ca6886a40566627672325.tar.gz
gsoc2013-epiphany-daeeba36086528531a4ca6886a40566627672325.tar.bz2
gsoc2013-epiphany-daeeba36086528531a4ca6886a40566627672325.tar.lz
gsoc2013-epiphany-daeeba36086528531a4ca6886a40566627672325.tar.xz
gsoc2013-epiphany-daeeba36086528531a4ca6886a40566627672325.tar.zst
gsoc2013-epiphany-daeeba36086528531a4ca6886a40566627672325.zip
Update version and API version to 2.21
svn path=/trunk/; revision=7398
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 352d4518a..d679dad9d 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -647,10 +647,9 @@ build_tab_label (EphyNotebook *nb, EphyTab *tab)
/* don't allow focus on the close button */
gtk_button_set_focus_on_click (GTK_BUTTON (close_button), FALSE);
- rcstyle = gtk_rc_style_new ();
+ rcstyle = gtk_widget_get_modifier_style (close_button);
rcstyle->xthickness = rcstyle->ythickness = 0;
gtk_widget_modify_style (close_button, rcstyle);
- gtk_rc_style_unref (rcstyle);
image = gtk_image_new_from_stock (GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU);
gtk_widget_set_tooltip_text (close_button, _("Close tab"));