[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: defines.h
User: pbernaud
Date: 06/09/23 04:54:53
Modified: . defines.h struct.h
Log:
Removed unused constants and structures
Revision Changes Path
1.57 +0 -38 eda/geda/gaf/libgeda/include/defines.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: defines.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/include/defines.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- defines.h 7 Sep 2006 02:41:54 -0000 1.56
+++ defines.h 23 Sep 2006 08:54:51 -0000 1.57
@@ -117,44 +117,6 @@
#define FREE 1
#define CONSTRAINED 2
-/* flags to setup_saveas_file_selector() */
-#define SAVEAS 0 /* next action after click is nothing */
-#define QUIT 1 /* next action after click is quit */
-#define OPEN 2 /* next action after click is open */
-#define NEW 3 /* next action after click is new */
-#define CLOSE 4 /* next action after click is close */
-
-/* for xfwindow array */
-#define FILESELECT 0
-#define COMPSELECT 1
-
-/* vvvvvvv this is a mess */
-
-/* flags to setup_saveas_file_selector() */
-#define SAVEAS 0 /* next action after click is nothing */
-#define QUIT 1 /* next action after click is quit */
-#define NEW 3 /* next action after click is new */
-#define CLOSE 4 /* next action after click is close */
-
-/* can be either OPEN or SAVEAS_* */
-#define OPEN 2 /* action is a open */
-
-/* flags to setup_saveas_file_selector() */
-#define NULL_ACTION -1 /* used if action has nothing to do with save */
-#define SAVEAS_NONE 0 /* next action after click is nothing */
-#define SAVEAS_QUIT 1 /* next action after click is quit */
-#define SAVEAS_OPEN 2 /* next action after click is open */
-#define SAVEAS_NEW 3 /* next action after click is new */
-#define SAVEAS_CLOSE 4 /* next action after click is close */
-
-/* ^^^^^^^ this is a mess */
-
-/* for FILEDIALOG filter_type var */
-#define FILEDIALOG_SCH_ONLY 0
-#define FILEDIALOG_SYM_ONLY 1
-#define FILEDIALOG_SCH_SYM 2
-#define FILEDIALOG_ALL_FILES 3
-
/* for attrib_edit_dialog invocation flag */
#define FROM_MENU 0
#define FROM_HOTKEY 1
1.90 +0 -44 eda/geda/gaf/libgeda/include/struct.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: struct.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/include/struct.h,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- struct.h 23 Sep 2006 08:35:39 -0000 1.89
+++ struct.h 23 Sep 2006 08:54:52 -0000 1.90
@@ -36,7 +36,6 @@
typedef struct st_page PAGE;
typedef struct st_toplevel TOPLEVEL;
typedef struct st_color COLOR;
-typedef struct st_filedialog FILEDIALOG;
typedef struct st_selection SELECTION;
typedef struct st_undo UNDO;
typedef struct st_tile TILE;
@@ -406,44 +405,6 @@
PAGE *next;
};
-struct st_filedialog {
- GtkWidget *xfwindow;
-
- int type;
- int filesel_type;
-
- GtkWidget *filter;
- int filter_type;
-
- GtkWidget *search_entry;
- GtkWidget *search_label;
- int last_search_lib;
- int last_search;
-
- GtkWidget *filename_entry;
-
- GtkWidget *dir_list;
- GtkWidget *file_list;
-
- char *directory;
- char *filename;
-
- /* need to make this dynamic TODO ?? */
- char *directory_entries[MAX_DIRS];
- char *file_entries[MAX_FILES];
-
- GtkWidget *preview;
- GtkWidget *preview_checkbox;
- int preview_control;
-
- GtkWidget *component_pulldown;
-
- /* this points to the owner of this filedialog structure */
- /* should NEVER be freed */
- TOPLEVEL *toplevel;
-
-};
-
struct st_toplevel {
int wid; /* Window id, always unique */
@@ -611,11 +572,6 @@
char current_basename[256];
- FILEDIALOG fileselect[2];
- /* see define.h for what */
- /* each of the different */
- /* members of this array are */
-
GtkWidget *iwindow; /* image write dialog box */
GtkWidget *ifilename_entry;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs