Remove unused global variables global_help_cb_data and global_help_cb.

This commit is contained in:
John Ralls
2021-11-19 14:39:40 -08:00
parent 19a2dd4952
commit 8eddb63ef1
3 changed files with 0 additions and 16 deletions

View File

@@ -205,9 +205,6 @@ GncOptionGtkUIItem::set_widget(GtkWidget* widget)
} }
static GNCOptionWinCallback global_help_cb = NULL;
gpointer global_help_cb_data = NULL;
static void dialog_reset_cb(GtkWidget * w, gpointer data); static void dialog_reset_cb(GtkWidget * w, gpointer data);
void dialog_list_select_cb (GtkTreeSelection *selection, void dialog_list_select_cb (GtkTreeSelection *selection,
gpointer data); gpointer data);
@@ -862,14 +859,6 @@ gnc_options_dialog_set_close_cb(GNCOptionWin * win, GNCOptionWinCallback cb,
win->close_cb_data = data; win->close_cb_data = data;
} }
void
gnc_options_dialog_set_global_help_cb(GNCOptionWinCallback thunk,
gpointer cb_data)
{
global_help_cb = thunk;
global_help_cb_data = cb_data;
}
/* This is for global program preferences. */ /* This is for global program preferences. */
void void
gnc_options_dialog_destroy(GNCOptionWin * win) gnc_options_dialog_destroy(GNCOptionWin * win)

View File

@@ -79,9 +79,6 @@ void gnc_options_dialog_set_close_cb (GNCOptionWin * win,
GNCOptionWinCallback thunk, GNCOptionWinCallback thunk,
gpointer cb_data); gpointer cb_data);
void gnc_options_dialog_set_global_help_cb (GNCOptionWinCallback thunk,
gpointer cb_data);
void gnc_options_dialog_build_contents (GNCOptionWin *win, void gnc_options_dialog_build_contents (GNCOptionWin *win,
GNCOptionDB *odb); GNCOptionDB *odb);
void gnc_options_dialog_build_contents_full (GNCOptionWin *win, void gnc_options_dialog_build_contents_full (GNCOptionWin *win,

View File

@@ -73,8 +73,6 @@ const gchar *msg_no_help_reason =
/* Translators: URI of missing help files */ /* Translators: URI of missing help files */
const gchar *msg_no_help_location = N_("Expected location"); const gchar *msg_no_help_location = N_("Expected location");
static void gnc_book_options_help_cb (GNCOptionWin *win, gpointer dat);
void void
gnc_gnome_utils_init (void) gnc_gnome_utils_init (void)
{ {