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 123719 - examples/threads fixed
examples/threads fixed
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: examples
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-10-02 16:29 UTC by J. Abelardo Gutierrez
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glibmm-2.3.0 examples/thread/dispatcher.cc & examples/thread/dispatcher2.cc no-gtkmm fix (23.18 KB, patch)
2003-10-02 16:31 UTC, J. Abelardo Gutierrez
none Details | Review
glibmm-2.3.0 examples/thread/dispatcher.cc & examples/thread/dispatcher2.cc no-gtkmm fixed fix (15.68 KB, patch)
2003-10-02 23:13 UTC, J. Abelardo Gutierrez
none Details | Review
glibmm/examples/thread/dispatcher?.cc patch (15.05 KB, patch)
2003-10-15 02:06 UTC, J. Abelardo Gutierrez
none Details | Review

Description J. Abelardo Gutierrez 2003-10-02 16:29:09 UTC
With this patch all gtkmm code in examples/threads/dispatcher.cc and
examples/threads/dispatcher2.cc has been casted out, now they only need glimm.

Also I fixed configure.in to add examples/threads because they now build
and run just fine.
Comment 1 J. Abelardo Gutierrez 2003-10-02 16:31:41 UTC
Created attachment 20437 [details] [review]
glibmm-2.3.0 examples/thread/dispatcher.cc & examples/thread/dispatcher2.cc no-gtkmm fix
Comment 2 Murray Cumming 2003-10-02 17:31:13 UTC
Thanks. The patch is unreadable because you have indented all of the
source code lines by 2 spaces, for no reason.

I would approve this anyway, but I'd really like to be able to read
the changes for my own education.
Comment 3 Murray Cumming 2003-10-02 17:32:57 UTC
Also, please don't use g types when it is not necessary:
-int main(int argc, char** argv)
+int main( gint argc, gchar** argv )
In general, please just change what needs to be changed.
Comment 4 J. Abelardo Gutierrez 2003-10-02 23:11:22 UTC
sorry for all my stupid mistakes with my last patch, I'm sending a new
one the way it should be...
Comment 5 J. Abelardo Gutierrez 2003-10-02 23:13:02 UTC
Created attachment 20447 [details] [review]
glibmm-2.3.0 examples/thread/dispatcher.cc & examples/thread/dispatcher2.cc no-gtkmm fixed fix
Comment 6 Murray Cumming 2003-10-03 07:23:49 UTC
Great. Someone please commit this.

In future, please use the existing coding style (You can see how you 
have changed it in the patch).
Comment 7 J. Abelardo Gutierrez 2003-10-03 13:25:55 UTC
Well I'm both dyslexic and dysgraphic, only a little, but I am.  So I
that need that extra spaces to work out my phisical disablity.  But I
will find a way to reformat the code back to it's original form.
Comment 8 J. Abelardo Gutierrez 2003-10-15 02:05:15 UTC
Well this is my last (I hope) patch for this code and it has all
formating issues from the past patches fixed, so hope it could be
merged in glibmm cvs head...

Please do so.
Comment 9 J. Abelardo Gutierrez 2003-10-15 02:06:56 UTC
Created attachment 20710 [details] [review]
glibmm/examples/thread/dispatcher?.cc patch
Comment 10 Murray Cumming 2003-10-15 06:55:37 UTC
I'm very sorry. I forgot.
Comment 11 Murray Cumming 2003-10-17 16:30:11 UTC
Applied. Thanks.