Move the definition of "prefs" from "gtk/prefs_dlg.c" to "prefs.c", so

that you don't have to have "gtk/prefs_dlg.c" to get it defined - future
non-GTK (text mode, curses, etc.) programs wouldn't have it.

svn path=/trunk/; revision=1387
This commit is contained in:
Guy Harris 1999-12-29 05:53:48 +00:00
parent d035d071ec
commit b0a46e6052
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/* prefs_dlg.c
* Routines for handling preferences
*
* $Id: prefs_dlg.c,v 1.5 1999/12/16 06:20:18 gram Exp $
* $Id: prefs_dlg.c,v 1.6 1999/12/29 05:53:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -55,8 +55,6 @@
#include "gui_prefs.h"
#include "util.h"
e_prefs prefs;
static void prefs_main_ok_cb(GtkWidget *, gpointer);
static void prefs_main_save_cb(GtkWidget *, gpointer);
static void prefs_main_cancel_cb(GtkWidget *, gpointer);

View File

@ -1,7 +1,7 @@
/* prefs.c
* Routines for handling preferences
*
* $Id: prefs.c,v 1.25 1999/12/16 06:19:50 gram Exp $
* $Id: prefs.c,v 1.26 1999/12/29 05:53:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -63,6 +63,8 @@ static void clear_string_list(GList *);
static int init_prefs = 1;
static gchar *pf_path = NULL;
e_prefs prefs;
/* Parse through a list of comma-separated, quoted strings. Return a
list of the string data */
static GList *