After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 148376 - fileselection example
fileselection example
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: reference documentation
2.4
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-07-24 23:14 UTC by Marco Scholten
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marco Scholten 2004-07-24 23:14:21 UTC
in http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch13s02.html 
(fileselection example)
it says #include <gtkmm/dialog.h>
where i think it should be #include <gtkmm/fileselection.h>
Comment 1 Murray Cumming 2004-07-27 07:40:01 UTC
Does it not compile?
Comment 2 Marco Scholten 2004-07-27 20:18:31 UTC
no it doesn't
Comment 3 Marco Scholten 2004-07-27 20:24:38 UTC
I searched dialog.h and there is no FileSelection in there.
Comment 4 Murray Cumming 2004-08-06 20:45:16 UTC
I don't believe that it doesn't compile - maybe you are not taking all of the
example code - you can take it from the example directory (follow the link) to
avoid copy/paste errors. Also, the examples compile as part of the gtkmm build.
It includes gtkmm.h, which brings in all of the headers.

However, the dialog.h include should be removed because it is irrelevant.

More importantly, FileSelectionDialog is deprecated, and you should be using
FileChooserDialog, and the documentation should be updated to show that.
Comment 5 Marco Scholten 2004-08-07 00:29:19 UTC
You are right, i only pasted part of the code because i assumed dialog.h was 
meant for the FileSelection, sorry to have been bothering you with this.

btw. I am realy starting to like gtkmm now i am getting the hang of it, keep up 
the good work, and if there is anyway i can help with updating parts of the 
documentation or examples let me know. 

.

Comment 6 Murray Cumming 2004-08-30 19:57:13 UTC
dialog.h include removed.