Gtkmm-forge digest, Vol 1 #844 - 4 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Cc: 
- Subject: Gtkmm-forge digest, Vol 1 #844 - 4 msgs
- Date: Sat, 08 Jan 2005 20:09:26 -0800
Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net
To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net
You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."
gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.
Today's Topics:
   1. [Bug 137591] Build failure when building in a Cygwin/win32 environment (bugzilla-daemon bugzilla gnome org)
   2. [Bug 163325] New: glibmm needs additional g_option-wrapping (G_OPTION_ARG_NONE) (bugzilla-daemon bugzilla gnome org)
   3. [Bug 163331] New: glibmm's g_option-wrapping doesn't respect set short_name (bugzilla-daemon bugzilla gnome org)
   4. [Bug 163382] New: Gtk-WARNING from running a Gtk::MessageDialog (bugzilla-daemon bugzilla gnome org)
--__--__--
Message: 1
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat,  8 Jan 2005 02:54:19 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137591] Build failure when building in a Cygwin/win32 environment
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
 http://bugzilla.gnome.org/show_bug.cgi?id=137591
 gtkmm | build | Ver: 2.4
------- Additional Comments From murrayc murrayc com  2005-01-08 02:54 -------
Many thanks. Please file a separate bug about the pixbuf demo segfault.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 2
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat,  8 Jan 2005 07:45:09 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 163325] New: glibmm needs additional g_option-wrapping (G_OPTION_ARG_NONE)
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
 http://bugzilla.gnome.org/show_bug.cgi?id=163325
 glibmm | object | Ver: unspecified
           Summary: glibmm needs additional g_option-wrapping
                    (G_OPTION_ARG_NONE)
           Product: glibmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: object
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: dh mailempfang de
                CC: all-bugs bugzilla gnome org
Hi,
G_OPTION_ARG_NONE isn't wrapped, so flags like  --be-really-quiet   (no argument
at all) can't be parsed. (Workaround for now is, to have an integer argument,
which has to be checked to be > 0 or something)
I guess it needs to be fixed in glibmm/glib/src/optionentry.hg right after
OptionEntry& operator=(const OptionEntry& src); but how, I do not know.
Bye,
 Daniel
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 3
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat,  8 Jan 2005 08:58:53 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 163331] New: glibmm's g_option-wrapping doesn't respect set short_name
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
 http://bugzilla.gnome.org/show_bug.cgi?id=163331
 glibmm | object | Ver: unspecified
           Summary: glibmm's g_option-wrapping doesn't respect set
                    short_name
           Product: glibmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: object
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: dh mailempfang de
                CC: all-bugs bugzilla gnome org
Hi,
I'm still a bit confused by the code of glibmm/glib/src/option*, but from my
example code
(http://cvs.berlios.de/cgi-bin/viewcvs.cgi/protosquared/protosquared/src/CmdLine.cc?rev=1.6&content-type=text/vnd.viewcvs-markup)
I can see, that, short-options aren't neither displayed (in --help) nor parsed
at any rate, although I did specify them.
Here are the differences, I spotted by using a simple grep:
Code concerning  long  options:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glib/src/optionentry.ccg:36:  g_free(const_cast<char*>(gobject_->long_name));
glib/src/optionentry.ccg:53:    if(gobject_->long_name)
glib/src/optionentry.ccg:54:      g_free(const_cast<char*>(gobject_->long_name));
glib/src/optionentry.ccg:56:    gobject_->long_name =
g_strdup(src.gobject_->long_name);
glib/src/optionentry.hg:55:  _MEMBER_GET(long_name, long_name, Glib::ustring,
const char*)
glib/src/optionentry.hg:56:  _MEMBER_SET(long_name, long_name, Glib::ustring,
const char*)
glib/src/optiongroup.ccg:113:  //g_option_group_add_entries takes an array, with
the last item in the array having a null long_name.
glib/src/optiongroup.ccg:151:  const Glib::ustring name = entry.get_long_name();
Code concerning  short  options:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glib/src/optionentry.ccg:58:    if(gobject_->short_name)
glib/src/optionentry.ccg:59:      gobject_->short_name = gobject_->short_name;
//It's just one char.
glib/src/optionentry.hg:58:  _MEMBER_GET(short_name, short_name, gchar, gchar)
glib/src/optionentry.hg:59:  _MEMBER_SET(short_name, short_name, gchar, gchar)
The strange thing is: glib/glib/goption.c's g_option_context_parse() itself
calls parse_long_option and parse_short_option, so everything should be fine.
I hope, you can find out, what's going wrong.
Bye,
 Daniel
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 4
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sat,  8 Jan 2005 18:17:43 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 163382] New: Gtk-WARNING from running a Gtk::MessageDialog
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
 http://bugzilla.gnome.org/show_bug.cgi?id=163382
 gtkmm | general | Ver: 2.2
           Summary: Gtk-WARNING from running a Gtk::MessageDialog
           Product: gtkmm
           Version: 2.2
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: ralph hilken artige com
                CC: all-bugs bugzilla gnome org
Just run the example from Chapter 13 - Dialogs of the online book for GTKMM,
loacted at: (http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch13.html)
void ExampleWindow::on_button_info_clicked()
{
  Gtk::MessageDialog dialog(*this, "This is an INFO MessageDialog");
  dialog.run();
}
It works for me, BUT I get a console error message of:
"Gtk-WARNING **: Ignoring the separator setting"
"Gtk-WARNING **: Ignoring the separator setting"
I googled for this error, and found 150+ listings, all from end users wondering
why their various apps will not work, but not from developers writing code. 
Latest one was dated from end of December 2004.
Tried setting 
   dialog.set_has_separator(false)
or 
   dialog.set_has_separator(true)
but no effect on end result.
My specifc environment is Red Hat FC1 with gtk 2.4.7 and gtkmm 2.2.12 installed
over it in a dev directory.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]