mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Rename scroll offset in scrollbar message data, although nothing seems to use that callback message.
svn path=/trunk/netsurf/; revision=12374
This commit is contained in:
parent
f78252fc75
commit
4f8995ae8d
@ -421,7 +421,7 @@ void scrollbar_set(struct scrollbar *s, int value, bool bar_pos)
|
||||
|
||||
msg.scrollbar = s;
|
||||
msg.msg = SCROLLBAR_MSG_MOVED;
|
||||
msg.new_scroll = s->offset;
|
||||
msg.scroll_offset = s->offset;
|
||||
s->client_callback(s->client_data, &msg);
|
||||
|
||||
msg.msg = SCROLLBAR_MSG_REDRAW;
|
||||
|
@ -46,7 +46,7 @@ typedef enum {
|
||||
struct scrollbar_msg_data {
|
||||
struct scrollbar *scrollbar;
|
||||
scrollbar_msg msg;
|
||||
int new_scroll;
|
||||
int scroll_offset;
|
||||
int x0, y0, x1, y1;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user