summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/transfers.vala2
-rw-r--r--midori/midori-notebook.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/transfers.vala b/extensions/transfers.vala
index e685589d..24d12994 100644
--- a/extensions/transfers.vala
+++ b/extensions/transfers.vala
@@ -342,7 +342,7 @@ namespace Transfers {
icon = new Gtk.Image ();
button = new Gtk.Button ();
button.relief = Gtk.ReliefStyle.NONE;
- button.focus_on_click = false;
+ button.set_focus_on_click (false);
button.clicked.connect (button_clicked);
button.add (icon);
box.pack_start (button, false, false, 0);
diff --git a/midori/midori-notebook.vala b/midori/midori-notebook.vala
index c1ab329c..a768b9f5 100644
--- a/midori/midori-notebook.vala
+++ b/midori/midori-notebook.vala
@@ -41,7 +41,7 @@ namespace Midori {
box.pack_start (label, true, true, 0);
close = new Gtk.Button ();
close.relief = Gtk.ReliefStyle.NONE;
- close.focus_on_click = false;
+ close.set_focus_on_click (false);
#if !HAVE_GTK3
close.name = "midori-close-button";
close.style_set.connect (close_style_set);