diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-06 22:06:37 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-06 22:06:37 +0000 |
commit | 4e39ec91448708c7f5ad2504f02ce47a6e81db01 (patch) | |
tree | c654d0bf8d81e280f89ab82976f16a7272845bfc /gtk/font_utils.c | |
parent | e59c54b38ddf258e9d58c5f06e211655199d5f6d (diff) |
Added new_packet_list_set_font() and initialize fonts when using
new packet list.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29316 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/font_utils.c')
-rw-r--r-- | gtk/font_utils.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/font_utils.c b/gtk/font_utils.c index e9799aa09a..3d0cb29204 100644 --- a/gtk/font_utils.c +++ b/gtk/font_utils.c @@ -50,6 +50,9 @@ #include "gtk/main_proto_draw.h" #include "gtk/follow_tcp.h" +#ifdef NEW_PACKET_LIST +#include "gtk/new_packet_list.h" +#endif PangoFontDescription *m_r_font, *m_b_font; @@ -274,7 +277,9 @@ user_font_apply(void) { } /* the font(s) seem to be ok */ -#ifndef NEW_PACKET_LIST +#ifdef NEW_PACKET_LIST + new_packet_list_set_font(new_r_font); +#else packet_list_set_font(new_r_font); #endif set_ptree_font_all(new_r_font); |