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:
Michael Drake 2011-05-10 17:39:23 +00:00
parent f78252fc75
commit 4f8995ae8d
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;
};