[gtkmm] Minor corrections to previous commit to make things clearer.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Minor corrections to previous commit to make things clearer.
- Date: Tue, 4 Jan 2011 23:15:48 +0000 (UTC)
commit 561c54e58a5c820b79ed3269c4a9807bd003bfe7
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Jan 5 00:15:20 2011 +0100
Minor corrections to previous commit to make things clearer.
* gtk/src/image.hg:
* gtk/src/texttag.hg:
* gtk/src/toolbar.hg:
* gtk/src/window.hg: Remove mentions of removed properties, instead of
just commenting them out, because that makes them seem like something that
is yet to be done.
* gtk/src/filechooserbutton.hg: Add a comment saying that the dialog property
was commented out because it is construct-only and write-only.
* gtk/src/cellview.hg: Likewise, remove the mention of the removed methods,
instead of just commenting it out.
ChangeLog | 16 ++++++++++++++++
gtk/src/cellview.hg | 3 ---
gtk/src/filechooserbutton.hg | 2 +-
gtk/src/image.hg | 2 --
gtk/src/texttag.hg | 4 ----
gtk/src/toolbar.hg | 3 ---
gtk/src/window.hg | 2 --
7 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 46dcc00..cd69d9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2011-01-05 Murray Cumming <murrayc murrayc com>
+
+ Minor corrections to previous commit to make things clearer.
+
+ * gtk/src/image.hg:
+ * gtk/src/texttag.hg:
+ * gtk/src/toolbar.hg:
+ * gtk/src/window.hg: Remove mentions of removed properties, instead of
+ just commenting them out, because that makes them seem like something that
+ is yet to be done.
+ * gtk/src/filechooserbutton.hg: Add a comment saying that the dialog property
+ was commented out because it is construct-only and write-only.
+
+ * gtk/src/cellview.hg: Likewise, remove the mention of the removed methods,
+ instead of just commenting it out.
+
2011-01-04 Krzesimir Nowak <qdlacz gmail com>
Quickly fix the build with latest Gtk+.
diff --git a/gtk/src/cellview.hg b/gtk/src/cellview.hg
index 1b85597..370a4bb 100644
--- a/gtk/src/cellview.hg
+++ b/gtk/src/cellview.hg
@@ -85,9 +85,6 @@ public:
_WRAP_METHOD(TreeModel::Path get_displayed_row() const, gtk_cell_view_get_displayed_row)
_IGNORE(gtk_cell_view_get_size_of_row) //deprecated
- //_WRAP_METHOD(void get_desired_width_of_row(const TreeModel::Path& path, int& minimum_size, int& natural_size), gtk_cell_view_get_desired_width_of_row)
- //_WRAP_METHOD(void get_desired_height_for_width_of_row(const TreeModel::Path& path, int avail_size, int& minimum_size, int& natural_size), gtk_cell_view_get_desired_height_for_width_of_row)
-
_WRAP_METHOD(void set_background_color(const Gdk::Color& color), gtk_cell_view_set_background_color)
_WRAP_METHOD(void set_background_rgba(const Gdk::RGBA& rgba), gtk_cell_view_set_background_rgba)
diff --git a/gtk/src/filechooserbutton.hg b/gtk/src/filechooserbutton.hg
index 1122c48..41dee58 100644
--- a/gtk/src/filechooserbutton.hg
+++ b/gtk/src/filechooserbutton.hg
@@ -85,7 +85,7 @@ public:
//See http://bugzilla.gnome.org/show_bug.cgi?id=353196
_WRAP_SIGNAL(void file_set(), "file-set")
- //_WRAP_PROPERTY("dialog", FileChooserDialog*)
+ //_WRAP_PROPERTY("dialog", FileChooserDialog*) //construct-only
_WRAP_PROPERTY("focus-on-click", bool)
_WRAP_PROPERTY("title", Glib::ustring)
_WRAP_PROPERTY("width-chars", int)
diff --git a/gtk/src/image.hg b/gtk/src/image.hg
index 2d4bf94..615ae78 100644
--- a/gtk/src/image.hg
+++ b/gtk/src/image.hg
@@ -148,8 +148,6 @@ public:
_WRAP_METHOD(void set_pixel_size(int pixel_size), gtk_image_set_pixel_size)
_WRAP_PROPERTY("pixbuf", Glib::RefPtr<Gdk::Pixbuf>)
- //_WRAP_PROPERTY("pixmap", Glib::RefPtr<Gdk::Pixmap>)
- //_WRAP_PROPERTY("mask", Glib::RefPtr<Gdk::Pixmap>)
_WRAP_PROPERTY("file", Glib::ustring)
_WRAP_PROPERTY("stock", Glib::ustring)
_WRAP_PROPERTY("icon-set", Gtk::IconSet)
diff --git a/gtk/src/texttag.hg b/gtk/src/texttag.hg
index 03ff901..8e397e7 100644
--- a/gtk/src/texttag.hg
+++ b/gtk/src/texttag.hg
@@ -77,8 +77,6 @@ public:
_WRAP_PROPERTY("foreground", Glib::ustring)
_WRAP_PROPERTY("background-gdk", Gdk::Color)
_WRAP_PROPERTY("foreground-gdk", Gdk::Color)
- //_WRAP_PROPERTY("background-stipple", Glib::RefPtr<Gdk::Bitmap>)
- //_WRAP_PROPERTY("foreground-stipple", Glib::RefPtr<Gdk::Bitmap>)
_WRAP_PROPERTY("font", Glib::ustring)
_WRAP_PROPERTY("font-desc", Pango::FontDescription)
_WRAP_PROPERTY("family", Glib::ustring)
@@ -111,8 +109,6 @@ public:
_WRAP_PROPERTY("accumulative-margin", bool)
_WRAP_PROPERTY("background-set", bool)
_WRAP_PROPERTY("foreground-set", bool)
- //_WRAP_PROPERTY("background-stipple-set", bool)
- //_WRAP_PROPERTY("foreground-stipple-set", bool)
_WRAP_PROPERTY("family-set", bool)
_WRAP_PROPERTY("style-set", bool)
_WRAP_PROPERTY("variant-set", bool)
diff --git a/gtk/src/toolbar.hg b/gtk/src/toolbar.hg
index 28fe038..1101e9e 100644
--- a/gtk/src/toolbar.hg
+++ b/gtk/src/toolbar.hg
@@ -74,8 +74,6 @@ public:
_WRAP_METHOD(void set_toolbar_style(ToolbarStyle style), gtk_toolbar_set_style)
_WRAP_METHOD(ToolbarStyle get_toolbar_style() const, gtk_toolbar_get_style)
- _IGNORE(gtk_toolbar_set_tooltips, gtk_toolbar_get_tooltips) //deprecated
-
_WRAP_METHOD(void unset_toolbar_style(), gtk_toolbar_unset_style)
//Note that gtk_toolbar_set_icon_size() and gtk_toolbar_unset_icon_size() were
@@ -130,7 +128,6 @@ public:
_WRAP_PROPERTY("orientation", Orientation)
_WRAP_PROPERTY("toolbar_style", ToolbarStyle)
_WRAP_PROPERTY("show_arrow", bool)
- //_WRAP_PROPERTY("tooltips", bool)
_WRAP_PROPERTY("icon-size", IconSize)
_WRAP_PROPERTY("icon-size-set", bool)
};
diff --git a/gtk/src/window.hg b/gtk/src/window.hg
index 277ca33..28434ef 100644
--- a/gtk/src/window.hg
+++ b/gtk/src/window.hg
@@ -70,8 +70,6 @@ public:
_WRAP_PROPERTY("type", WindowType)
_WRAP_PROPERTY("title", Glib::ustring)
_WRAP_PROPERTY("startup-id", Glib::ustring)
- //_WRAP_PROPERTY("allow_shrink", bool)
- //_WRAP_PROPERTY("allow_grow", bool)
_WRAP_PROPERTY("resizable", bool)
_WRAP_PROPERTY("modal", bool)
_WRAP_PROPERTY("window_position", WindowPosition)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]