mirror of
https://github.com/softwarejanitor/calvados.git
synced 2024-10-31 10:17:58 +00:00
25 lines
364 B
C
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);
|
|
}
|
|
|