Index: chrome/browser/ui/gtk/gtk_chrome_link_button.cc |
diff --git a/chrome/browser/ui/gtk/gtk_chrome_link_button.cc b/chrome/browser/ui/gtk/gtk_chrome_link_button.cc |
index 451126d6aad3fff269ac93ea7e95b1d150b1d1e5..6a68bdd940ea839fcfe2f15a7071755c3de23b59 100644 |
--- a/chrome/browser/ui/gtk/gtk_chrome_link_button.cc |
+++ b/chrome/browser/ui/gtk/gtk_chrome_link_button.cc |
@@ -139,7 +139,8 @@ static gboolean gtk_chrome_link_button_expose(GtkWidget* widget, |
if (gtk_widget_has_focus(widget)) { |
GtkAllocation allocation; |
gtk_widget_get_allocation(widget, &allocation); |
- gtk_paint_focus(widget->style, widget->window, |
+ gtk_paint_focus(gtk_widget_get_style(widget), |
+ gtk_widget_get_window(widget), |
gtk_widget_get_state(widget), |
&event->area, widget, NULL, |
allocation.x, allocation.y, |
@@ -152,7 +153,8 @@ static gboolean gtk_chrome_link_button_expose(GtkWidget* widget, |
static void gtk_chrome_link_button_enter(GtkButton* button) { |
GtkWidget* widget = GTK_WIDGET(button); |
GtkChromeLinkButton* link_button = GTK_CHROME_LINK_BUTTON(button); |
- gdk_window_set_cursor(widget->window, link_button->hand_cursor); |
+ gdk_window_set_cursor(gtk_widget_get_window(widget), |
+ link_button->hand_cursor); |
} |
static void gtk_chrome_link_button_leave(GtkButton* button) { |