public inbox for
 help / color / mirror / Atom feed
From: Kevin Ryde <>
Subject: todo gdkpixmap
Date: Sun, 07 Sep 2003 23:09:00 -0000	[thread overview]
Message-ID: <> (raw)

I add a bit to the TODO file,

* GdkPixmap should use gdk_pixmap_ref and gdk_pixmap_unref, not
  gdk_window_ref and gdk_window_unref.  Likewise GdkBitmap.

  Although GdkPixmap and GdkWindow are the same pointer type (in gtk
  1.2), the unref functions are not the same.  gdk_pixmap_unref frees
  when the count drops to zero, gdk_window_unref doesn't and instead
  prints a warning about an undestroyed window reaching zero.

  Probably need to have GdkPixmap and GdkWindow as distinct boxed
  types, but allow either in a GdkDrawable parameter.  Distinct types
  would allow tighter type checking of pixmap versus window in
  parameters too (for instance gdk_window_map shouldn't accept a
  pixmap).  This gets easier in gtk 2, where all are GObjects.

                 reply	other threads:[~2003-09-07 23:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).