forked from AuroraMiddleware/gtk
fix demos
This commit is contained in:
parent
e9a0c17f45
commit
2f0104ed23
@ -264,7 +264,7 @@ released_cb (GtkGestureClick *gesture,
|
||||
{
|
||||
GtkTextIter start, end, iter;
|
||||
GtkTextBuffer *buffer;
|
||||
int tx, ty;
|
||||
GtkTextUnit tx, ty;
|
||||
|
||||
if (gtk_gesture_single_get_button (GTK_GESTURE_SINGLE (gesture)) > 1)
|
||||
return;
|
||||
@ -290,7 +290,7 @@ motion_cb (GtkEventControllerMotion *controller,
|
||||
double y,
|
||||
GtkTextView *text_view)
|
||||
{
|
||||
int tx, ty;
|
||||
GtkTextUnit tx, ty;
|
||||
|
||||
gtk_text_view_window_to_buffer_coords (text_view,
|
||||
GTK_TEXT_WINDOW_WIDGET,
|
||||
|
@ -315,7 +315,7 @@ text_view_query_tooltip_cb (GtkWidget *widget,
|
||||
}
|
||||
else
|
||||
{
|
||||
int bx, by, trailing;
|
||||
GtkTextUnit bx, by, trailing;
|
||||
|
||||
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (self->text_view), GTK_TEXT_WINDOW_TEXT,
|
||||
x, y, &bx, &by);
|
||||
|
Loading…
Reference in New Issue
Block a user