diff options
author | Federico Mena Quintero <federico@ximian.com> | 2005-09-15 21:51:31 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2005-09-15 21:51:31 +0000 |
commit | 329bc4e22109bbf7633d22ff2a50e4f10628a783 (patch) | |
tree | 608f0d31e9fc1dce764077ca9553c1efcf2b3af4 /gtk/gtkfilechooserdialog.c | |
parent | 4c3151de5cd742f89635dc3204b01b7e0944d87d (diff) | |
download | gtk+-329bc4e22109bbf7633d22ff2a50e4f10628a783.tar.gz |
Start a set of automated tests for the file chooser. The only test in
2005-09-15 Federico Mena Quintero <federico@ximian.com>
* tests/autotestfilechooser.c: Start a set of automated tests for
the file chooser. The only test in there right now doesn't pass
yet. It specifies the intended behavior of the first optimization
of a series which I'll do on the file chooser (see
http://primates.ximian.com/~federico/news-2005-09.html#14 for the
details of this optimization).
* tests/Makefile.am: Added autotestfilechooser.c.
* gtk/gtkfilechooserprivate.h (struct
_GtkFileChooserDialogPrivate): Move all the file chooser's private
structures to here, so that they can be accessed by
tests/autotestfilechooser.c: _GtkFileChooserDialogPrivate,
_GtkFileChooserWidgetPrivate, LoadState, _GtkFileChooserDefault.
* gtk/gtkfilechooserdialog.c: See above.
* gtk/gtkfilechooserwidget.c: See above.
* gtk/gtkfilechooserdefault.c: See above.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index d84f0ba3e3..db1e574410 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -19,6 +19,7 @@ */ #include <config.h> +#include "gtkfilechooserprivate.h" #include "gtkfilechooserdialog.h" #include "gtkfilechooserwidget.h" #include "gtkfilechooserutils.h" @@ -30,19 +31,6 @@ #include <stdarg.h> -struct _GtkFileChooserDialogPrivate -{ - GtkWidget *widget; - - char *file_system; - - /* for use with GtkFileChooserEmbed */ - gint default_width; - gint default_height; - gboolean resize_horizontally; - gboolean resize_vertically; -}; - #define GTK_FILE_CHOOSER_DIALOG_GET_PRIVATE(o) (GTK_FILE_CHOOSER_DIALOG (o)->priv) static void gtk_file_chooser_dialog_class_init (GtkFileChooserDialogClass *class); |