mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
This commit is contained in:
parent
091335fcb4
commit
b99348e443
@ -2010,7 +2010,8 @@ text_view_visibility_notify_event (GtkWidget *text_view,
|
||||
{
|
||||
GdkDevice *dev = d->data;
|
||||
|
||||
gdk_window_get_device_position (text_view->window, dev, &wx, &wy, NULL);
|
||||
gdk_window_get_device_position (gtk_widget_get_window (text_view), dev,
|
||||
&wx, &wy, NULL);
|
||||
|
||||
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (text_view),
|
||||
GTK_TEXT_WINDOW_WIDGET,
|
||||
|
Loading…
Reference in New Issue
Block a user