[gtkmm] Documentation: Remove mentions of Pixmap.



commit b9512c0c31b526dff06e45fbd4a73f9a50ecf39e
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jan 13 14:53:38 2011 +0100

    Documentation: Remove mentions of Pixmap.
    
    * gdk/src/window.hg: Remove declaration of set_icon(pixmap), which had
    no definition.
    * gtk/src/bin.ccg:
    * gtk/src/button.hg:
    * gtk/src/checkbutton.hg:
    * gtk/src/offscreenwindow.hg:
    * gtk/src/togglebutton.hg: Remove or replace mentions of Gdk::Pixmap in the
    documentation.

 ChangeLog                  |   13 +++++++++++++
 gdk/src/window.hg          |    1 -
 gtk/src/bin.ccg            |    2 +-
 gtk/src/button.hg          |    2 +-
 gtk/src/checkbutton.hg     |    4 ++--
 gtk/src/offscreenwindow.hg |    2 +-
 gtk/src/togglebutton.hg    |    2 +-
 7 files changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index afa8011..528b17d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
 2011-01-13  Murray Cumming  <murrayc murrayc com>
 
+	Documentation: Remove mentions of Pixmap.
+
+	* gdk/src/window.hg: Remove declaration of set_icon(pixmap), which had 
+	no definition.
+	* gtk/src/bin.ccg:
+	* gtk/src/button.hg:
+	* gtk/src/checkbutton.hg:
+	* gtk/src/offscreenwindow.hg:
+	* gtk/src/togglebutton.hg: Remove or replace mentions of Gdk::Pixmap in the 
+	documentation.
+
+2011-01-13  Murray Cumming  <murrayc murrayc com>
+
 	Documentation: Don't mention non-existant Gdk::Colormap class.
 
 	* gdk/src/color.hg:
diff --git a/gdk/src/window.hg b/gdk/src/window.hg
index 225e912..51f617c 100644
--- a/gdk/src/window.hg
+++ b/gdk/src/window.hg
@@ -218,7 +218,6 @@ public:
   _WRAP_METHOD(void set_source_events(InputSource source, EventMask event_mask), gdk_window_set_source_events)
 
   _WRAP_METHOD(void set_icon_list(const Glib::ListHandle< Glib::RefPtr<Gdk::Pixbuf> >& pixbufs), gdk_window_set_icon_list)
-  void set_icon(const Glib::RefPtr<Window>& icon_window, const Glib::RefPtr<Pixmap>& pixmap);
   void unset_icon();
   _WRAP_METHOD(void set_icon_name(const Glib::ustring& name), gdk_window_set_icon_name)
 
diff --git a/gtk/src/bin.ccg b/gtk/src/bin.ccg
index da22eba..18e38ff 100644
--- a/gtk/src/bin.ccg
+++ b/gtk/src/bin.ccg
@@ -79,7 +79,7 @@ Bin::add_pixlabel(const std::string& pixfile,
 		  const Glib::ustring& str,
 		  double x_align /* = 0.5 */, double y_align /* = 0.5 */)
 {
-  //Create Pixmap and Label widgets:
+  //Create Image and Label widgets:
   Image* pmap = manage(new Image(pixfile));
   Label* label = manage(new Label(str));
   label->set_alignment (x_align, y_align);
diff --git a/gtk/src/button.hg b/gtk/src/button.hg
index 70d84af..91821e1 100644
--- a/gtk/src/button.hg
+++ b/gtk/src/button.hg
@@ -51,7 +51,7 @@ public:
 
   /** Create an empty button.
    * With an empty button, you can Gtk::Button::add() a widget
-   * such as a Gtk::Pixmap or Gtk::Box.
+   * such as a Gtk::Image or Gtk::Box.
    *
    * If you just wish to add a Gtk::Label,
    * you may want to
diff --git a/gtk/src/checkbutton.hg b/gtk/src/checkbutton.hg
index 2318e4f..01c95d9 100644
--- a/gtk/src/checkbutton.hg
+++ b/gtk/src/checkbutton.hg
@@ -45,10 +45,10 @@ public:
 
   /** Create an empty check button.
    * With an empty button, you can Gtk::Button::add() a widget such as a
-   * Gtk::Pixmap or Gtk::Box.
+   * Gtk::Image or Gtk::Box.
    *
    * If you just wish to add a Gtk::Label, you may want to use the
-   * Gtk::CheckButton(const Glib::ustring &label) constructor directly
+   * Gtk::CheckButton(const Glib::ustring& label) constructor directly
    * instead.
    */
   _CTOR_DEFAULT
diff --git a/gtk/src/offscreenwindow.hg b/gtk/src/offscreenwindow.hg
index 1c884eb..d3ceff2 100644
--- a/gtk/src/offscreenwindow.hg
+++ b/gtk/src/offscreenwindow.hg
@@ -37,7 +37,7 @@ namespace Gtk
  *
  * The idea is to take a widget and manually set the state of it,
  * add it to an OffscreenWindow and then retrieve the snapshot
- * as a Gdk::Pixmap or Gdk::Pixbuf.
+ * as a Gdk::Pixbuf.
  *
  * OffscreenWindow derives from Window only as an implementation
  * detail.  Applications should not use any API specific to #GtkWindow
diff --git a/gtk/src/togglebutton.hg b/gtk/src/togglebutton.hg
index 4f00d12..d9a18cd 100644
--- a/gtk/src/togglebutton.hg
+++ b/gtk/src/togglebutton.hg
@@ -39,7 +39,7 @@ public:
 
   /** Create an empty toggle button.
    * With an empty button, you can Gtk::Button::add() a widget such as a
-   * Gtk::Pixmap or Gtk::Box.
+   * Gtk::Image or Gtk::Box.
    *
    * If you just wish to add a Gtk::Label, you may want to use the
    * Gtk::ToggleButton(const Glib::ustring &label) constructor directly



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