Gtkmm-forge Digest, Vol 8, Issue 11



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-owner 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 395572] overloading ambiguity in	printoptions.cc with
      Sun Workshop 11 CC (gtkmm (bugzilla.gnome.org))
   2. [Bug 392950] Wrapper Class For GTimer missing
      (glibmm (bugzilla.gnome.org))
   3. [Bug 395572] overloading ambiguity in	printoptions.cc with
      Sun Workshop 11 CC (gtkmm (bugzilla.gnome.org))
   4. [Bug 395572] overloading ambiguity in	printoptions.cc with
      Sun Workshop 11 CC (gtkmm (bugzilla.gnome.org))
   5. [Bug 395962] New: Gda::DataModelQuery inherits	from
      Glib::Object instead of Gda::Object (gnomemm (bugzilla.gnome.org))
   6. [Bug 395962] Gda::DataModelQuery inherits from	Glib::Object
      instead of Gda::Object (gnomemm (bugzilla.gnome.org))
   7. [Bug 396157] New: GInitiallyUnowned-support in	glibmm
      (glibmm (bugzilla.gnome.org))
   8. [Bug 396157] GInitiallyUnowned-support in glibmm
      (glibmm (bugzilla.gnome.org))
   9. [Bug 396157] GInitiallyUnowned-support in glibmm
      (glibmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Fri, 12 Jan 2007 20:42:51 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395572] overloading ambiguity in
	printoptions.cc with Sun Workshop 11 CC
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112204251 4D7A86C411A box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395572

  gtkmm | build | Ver: 2.10.x





------- Comment #8 from Murray Cumming  2007-01-12 20:41 UTC -------
> "printoperation.cc", line 91: Error: Overloading ambiguity between
> "Glib::unwrap<const Gtk::PageSetup>(const Glib::RefPtr<const Gtk::PageSetup>&)"
> and
> "Glib::unwrap<const Gtk::PageSetup>(const Glib::RefPtr<const Gtk::PageSetup>&)".

Well this makes no sense to me. They are the same, though I guess it thinks it
is referring to these two partial template specializations from glibmm's
wrap.h:

template <class T> inline
const typename T::BaseObjectType* unwrap(const T* ptr)
{
  return (ptr) ? ptr->gobj() : 0;
}

template <class T> inline
typename T::BaseObjectType* unwrap(const Glib::RefPtr<T>& ptr)
{
  return (ptr) ? ptr->gobj() : 0;
}

We already use this specifying-the-specialization trick elsewhere in gtkmm,
using the __CONVERT_CONST_REFPTR_TO_P_SUN() macro in our .m4 conversion files,
but I wonder why it isn't work for this example:

# The Sun Forte compiler doesn't seem to be able to handle these, so we are
using the altlernative,  __CONVERT_CONST_REFPTR_TO_P_SUN.
# The Sun compiler gives this error, for instance:
#  "widget.cc", line 4463: Error: Overloading ambiguity between
"Glib::unwrap<Gdk::Window>(const Glib::RefPtr<const Gdk::Window>&)" and
# "Glib::unwrap<const Gdk::Window>(const Glib::RefPtr<const Gdk::Window>&)".
#
define(`__CONVERT_CONST_REFPTR_TO_P_SUN',`const_cast<$`'2>(Glib::unwrap<$1>($`'3))')

You might even be able to use that macro in the .ccg file.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 2
Date: Fri, 12 Jan 2007 20:57:53 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 392950] Wrapper Class For GTimer
	missing
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112205753 277606C411A box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=392950

  glibmm | general | Ver: 2.12.x





------- Comment #6 from Jan Niklas Hasse  2007-01-12 20:56 UTC -------
Well i clicked Full -> All Classes. It shows all namespaces except of Glib.
Maybe it should be added their?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 3
Date: Fri, 12 Jan 2007 22:21:14 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395572] overloading ambiguity in
	printoptions.cc with Sun Workshop 11 CC
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112222114 E21946C414A box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395572

  gtkmm | build | Ver: 2.10.x





------- Comment #9 from Tim Mooney  2007-01-12 22:19 UTC -------
Marko's patch #3 worked.  The compile is now proceeding onward.  Thanks much to
both of you for your efforts!


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 4
Date: Fri, 12 Jan 2007 22:36:56 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395572] overloading ambiguity in
	printoptions.cc with Sun Workshop 11 CC
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112223656 5B5116C414A box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395572

  gtkmm | build | Ver: 2.10.x





------- Comment #10 from Marko Anastasov  2007-01-12 22:35 UTC -------
Created an attachment (id=80154)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=80154&action=view)
another take on template specialization

Glad to hear :).

Can you also try with this one, please? It's similar to the second one, only
simpler. I just added the specialization to <GtkmmType> to the original code,
instead of having a separate call with a specialization to <const GtkmmType>.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 5
Date: Sat, 13 Jan 2007 00:11:22 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395962] New: Gda::DataModelQuery
	inherits	from Glib::Object instead of Gda::Object
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-395962-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395962

  gnomemm | libgdamm | Ver: unspecified

           Summary: Gda::DataModelQuery inherits from Glib::Object instead
                    of Gda::Object
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: libgdamm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: armin arbur net
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


The Gda::DataModelQuery class currently inherits from Glib::Object, but the C
version inherits from GdaObject. The attached patch fixes this. It also makes
the constructor take a Gda::Query argument as gda_data_model_query_new does.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 6
Date: Sat, 13 Jan 2007 00:12:13 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395962] Gda::DataModelQuery inherits
	from	Glib::Object instead of Gda::Object
To: gtkmm-forge lists sourceforge net
Message-ID: <20070113001213 E92696C413C box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395962

  gnomemm | libgdamm | Ver: unspecified





------- Comment #1 from Armin Burgmeier  2007-01-13 00:10 UTC -------
Created an attachment (id=80160)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=80160&action=view)
Changes base class from Glib::Object to Gda::Object


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 7
Date: Sat, 13 Jan 2007 16:51:53 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 396157] New: GInitiallyUnowned-support
	in	glibmm
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-396157-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=396157

  glibmm | object | Ver: unspecified

           Summary: GInitiallyUnowned-support in glibmm
           Product: glibmm
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: object
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: k philipp gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unversioned Enhancement
   GNOME milestone: Unspecified


glibmm actually lacks support for GInitiallyUnowned.
Implementing this shouldn?t be too difficult, as almost the same functionality
already exists in Gtk::Object of gtkmm.
I?ve attached my implementation, but I?m not sure I?ve got everything right.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 8
Date: Sat, 13 Jan 2007 16:54:50 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 396157] GInitiallyUnowned-support in
	glibmm
To: gtkmm-forge lists sourceforge net
Message-ID: <20070113165450 B05EAFE8011 box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=396157

  glibmm | object | Ver: unspecified





------- Comment #1 from Philipp Kerling  2007-01-13 16:53 UTC -------
Created an attachment (id=80185)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=80185&action=view)
Patch for glibmm with InitiallyUnowned-support


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

Message: 9
Date: Sat, 13 Jan 2007 17:01:22 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 396157] GInitiallyUnowned-support in
	glibmm
To: gtkmm-forge lists sourceforge net
Message-ID: <20070113170122 28B0F6C406E box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=396157

  glibmm | object | Ver: unspecified


Sven Herzberg changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |herzi gnome-de org




-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 8, Issue 11
******************************************



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]