calvados/do_open_file.c
2017-04-18 14:15:24 -05:00

25 lines
364 B
C

#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <string.h>
#include "calvados.h"
extern char *open_file_ptr;
/*
*
* do_open_file()
*
* Open a file.
*
*/
void do_open_file(char *filename)
{
/* --- Display message --- */
g_print("Open file function goes here.\n");
g_print("filename=%s\n", filename);
strcpy(open_file_ptr, filename);
}