[gtkmm] Gtk::Widget: remove get_preferred_width() etc.
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::Widget: remove get_preferred_width() etc.
- Date: Mon, 22 May 2017 16:23:55 +0000 (UTC)
commit 61b84164949c34b609d0ad24986f976ec77849f4
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Mon May 22 18:22:00 2017 +0200
Gtk::Widget: remove get_preferred_width() etc.
Remove get_preferred_width(), get_preferred_height_for_width(),
get_preferred_height() and get_preferred_width_for_height() because the
corresponding functions have been removed from gtk+.
gtk/src/widget.hg | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index 1fd0a7e..57d8244 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -124,19 +124,13 @@ public:
_WRAP_METHOD(void queue_allocate(), gtk_widget_queue_allocate)
_WRAP_METHOD(void size_allocate(const Allocation& allocation), gtk_widget_size_allocate)
-
_WRAP_METHOD(void size_allocate(const Allocation& allocation, int baseline),
gtk_widget_size_allocate_with_baseline)
_WRAP_METHOD(SizeRequestMode get_request_mode() const, gtk_widget_get_request_mode)
- _WRAP_METHOD(void get_preferred_width(int& minimum_width, int& natural_width) const,
gtk_widget_get_preferred_width)
- _WRAP_METHOD(void get_preferred_height_for_width(int width, int& minimum_height, int& natural_height)
const, gtk_widget_get_preferred_height_for_width)
- _WRAP_METHOD(void get_preferred_height(int& minimum_height, int& natural_height) const,
gtk_widget_get_preferred_height)
- _WRAP_METHOD(void get_preferred_width_for_height(int height, int& minimum_width, int& natural_width)
const, gtk_widget_get_preferred_width_for_height)
_WRAP_METHOD(void measure(Orientation orientation, int for_size, int& minimum, int& natural,
int& minimum_baseline, int& natural_baseline) const, gtk_widget_measure)
_WRAP_METHOD(void get_preferred_size(Requisition& minimum_size, Requisition& natural_size) const,
gtk_widget_get_preferred_size)
-
_WRAP_METHOD(void add_accelerator(const Glib::ustring& accel_signal, const Glib::RefPtr<AccelGroup>&
accel_group,
guint accel_key, Gdk::ModifierType accel_mods, AccelFlags accel_flags),
gtk_widget_add_accelerator)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]