summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tab-chrome.c6
-rw-r--r--src/tab-chrome.h4
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