aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--configure.ac4
-rw-r--r--src/ephy-notebook.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index cb903955c..41db8320e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,8 +25,8 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([configure.ac])
-EPIPHANY_MAJOR=2.19
-EPIPHANY_API_VERSION=2.19
+EPIPHANY_MAJOR=2.21
+EPIPHANY_API_VERSION=2.21
# This should stay at the major version of the latest stable releases
EPIPHANY_UA_VERSION=2.20
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"));