diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-22 02:14:13 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-22 02:21:44 (EDT) |
commit | bbb8adf7d081ded3d95cdb00213d3cd129b20018 (patch) | |
tree | 58a6cf3854846972a7477d238c60a1b64c56ab9c /src/tab.h | |
parent | a25251d553f0f20bb1dda949d7bd87e50da18b84 (diff) | |
download | marquee-bbb8adf7d081ded3d95cdb00213d3cd129b20018.zip marquee-bbb8adf7d081ded3d95cdb00213d3cd129b20018.tar.gz marquee-bbb8adf7d081ded3d95cdb00213d3cd129b20018.tar.bz2 |
MqTab: Save tab favicon and title in struct
This allows the "New tab" title to remain, rather than getting
overwritten with NULL from webkit_web_view_get_title().
Diffstat (limited to 'src/tab.h')
-rw-r--r-- | src/tab.h | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -28,14 +28,16 @@ #include "tab-body.h" typedef struct { - GtkWidget *container; - MqTabChrome *chrome; - MqTabBody *body; - GtkWidget *tab; - GtkWidget *tab_image; - GtkWidget *tab_label; - guint tab_position; - WebKitWebView *web_view; + GtkWidget *container; + MqTabChrome *chrome; + MqTabBody *body; + GtkWidget *tab; + GtkWidget *tab_image; + GtkWidget *tab_label; + cairo_surface_t *favicon; + const gchar *title; + guint tab_position; + WebKitWebView *web_view; } MqTab; MqTab * |