diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-17 02:32:06 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-17 02:32:06 (EDT) |
commit | e633c6dc2bda785c455cc57bdef84a9974302b33 (patch) | |
tree | d88e0b16ce8709bfd9203a647377a4ec0e611171 /src | |
parent | 6770dc83132d6a01f05d60a4374e44f6ac520838 (diff) | |
download | marquee-e633c6dc2bda785c455cc57bdef84a9974302b33.zip marquee-e633c6dc2bda785c455cc57bdef84a9974302b33.tar.gz marquee-e633c6dc2bda785c455cc57bdef84a9974302b33.tar.bz2 |
mq_tab_chrome_update_tab_position(): New function
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 6 | ||||
-rw-r--r-- | src/tab-chrome.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index a2571eb..c03f393 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -90,6 +90,12 @@ mq_tab_chrome_get_container(MqTabChrome *chrome) return chrome->container; } +void +mq_tab_chrome_update_tab_position(MqTabChrome *chrome, guint position) +{ + chrome->tab_position = position; +} + static void load_changed_cb(WebKitWebView *web_view, WebKitLoadEvent load_event, MqTabChrome *chrome) diff --git a/src/tab-chrome.h b/src/tab-chrome.h index 96385a3..035be40 100644 --- a/src/tab-chrome.h +++ b/src/tab-chrome.h @@ -28,6 +28,7 @@ typedef struct { GtkWidget *tab_image; GtkWidget *tab_label; + guint tab_position; GtkWidget *container; GtkWidget *uri_entry; WebKitWebView *web_view; @@ -40,6 +41,9 @@ GtkWidget * mq_tab_chrome_get_container(MqTabChrome *chrome); void +mq_tab_chrome_update_tab_position(MqTabChrome *chrome, guint position); + +void mq_tab_chrome_set_web_view(MqTabChrome *chrome, WebKitWebView *web_view); #endif |