Skip to content

Commit

Permalink
Removed unused member variable ext_managed from Fl_File_Chooser
Browse files Browse the repository at this point in the history
and fixed a comment.

src/Fl_File_Chooser.fl:
	Removed unused member variable ext_managed

M    src/Fl_File_Chooser2.cxx:
	Fixed comment.

M    FL/Fl_File_Chooser.H:
	Removed unused member variable ext_managed (generated by fluid)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Albrecht Schlosser committed Mar 13, 2009
1 parent 5e6a41b commit 878b91d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion FL/Fl_File_Chooser.H
Expand Up @@ -220,7 +220,6 @@ public:
static Fl_File_Sort_F *sort;
private:
Fl_Widget* ext_group;
bool ext_managed;
public:
Fl_Widget* add_extra(Fl_Widget* gr);
};
Expand Down
1 change: 0 additions & 1 deletion src/Fl_File_Chooser.fl
Expand Up @@ -423,7 +423,6 @@ else
the contents of a directory.} public
}
decl {Fl_Widget* ext_group;} {}
decl {bool ext_managed;} {}
Function {add_extra(Fl_Widget* gr)} {open return_type {Fl_Widget*}
} {
code {Fl_Widget* ret=ext_group;} {}
Expand Down
2 changes: 1 addition & 1 deletion src/Fl_File_Chooser2.cxx
Expand Up @@ -270,7 +270,7 @@
This sample code loops through all selected files:
\code
// Get list of filenames user selected from a MULTI chooser
for ( int t=1; t>=chooser->count(); t++ ) {
for ( int t=1; t<=chooser->count(); t++ ) {
const char *filename = chooser->value(t);
...
}
Expand Down

0 comments on commit 878b91d

Please sign in to comment.