diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-24 08:05:45 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-24 08:05:45 +0000 |
commit | 65f8211d4fc2a9f7a612a831d26b908f66fb6c9f (patch) | |
tree | b06a933329fb307a380a74b2f3f63c06cfacc356 /file.c | |
parent | 9ec326d409f7be529cc77eedfe3b46267a84c759 (diff) |
Have separate callback mechanisms in file.c and capture.c; pass the
capture callbacks the capture_options * as its second argument in all
cases. This makes it a bit clearer what arguments callbacks take, and
means we can get rid of all global_capture_opts references in
gtk/main_statusbar.c.
Put the interface between gtk/main.c and gtk/main_statusbar.c into a
private header.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25576 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,9 +135,9 @@ typedef struct { gpointer user_data; } cf_callback_data_t; -GList *cf_callbacks = NULL; +static GList *cf_callbacks = NULL; -void +static void cf_callback_invoke(int event, gpointer data) { cf_callback_data_t *cb; |