diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-04 18:44:44 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-04 18:44:44 +0000 |
commit | 0861927ce30146be75bcb57b6939c0fd9fee43b3 (patch) | |
tree | f2d0d9d8c5c3712358e4169b04391e0629dfd4af /gtk/goto_dlg.c | |
parent | d7ad33dc51e0e51e6cc2903ff0ac3ce806550ce4 (diff) | |
download | wireshark-0861927ce30146be75bcb57b6939c0fd9fee43b3.tar.gz |
huge cleanup of capture file API (functions in file.c/file.h).
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions.
Hopefully, I didn't introduced any new bugs, as I had to change a lot of files...
svn path=/trunk/; revision=13289
Diffstat (limited to 'gtk/goto_dlg.c')
-rw-r--r-- | gtk/goto_dlg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/goto_dlg.c b/gtk/goto_dlg.c index 8b60491606..259d8dd15e 100644 --- a/gtk/goto_dlg.c +++ b/gtk/goto_dlg.c @@ -134,7 +134,7 @@ goto_frame_ok_cb(GtkWidget *ok_bt _U_, gpointer parent_w) return; } - if (goto_frame(&cfile, fnumber)) { + if (cf_goto_frame(&cfile, fnumber)) { /* We succeeded in going to that frame; we're done. */ window_destroy(GTK_WIDGET(parent_w)); } @@ -146,19 +146,19 @@ goto_frame_ok_cb(GtkWidget *ok_bt _U_, gpointer parent_w) void goto_framenum_cb(GtkWidget *w _U_, gpointer data _U_) { - goto_framenum(&cfile); + cf_goto_framenum(&cfile); } void goto_top_frame_cb(GtkWidget *w _U_, gpointer d _U_) { - goto_top_frame(&cfile); + cf_goto_top_frame(&cfile); } void goto_bottom_frame_cb(GtkWidget *w _U_, gpointer d _U_) { - goto_bottom_frame(&cfile); + cf_goto_bottom_frame(&cfile); } |