[libvtemm] Blablabla ("I Do Not Like Short Descriptions" commit).



commit 9773cf2e8db21f02ff2e43727b91f0eb12592266
Author: Krzesimir Nowak <krnowak svn gnome org>
Date:   Wed May 13 19:16:58 2009 +0200

    Blablabla ("I Do Not Like Short Descriptions" commit).
    
    * NEWS: Rewritten a bit - were to chaotical.
    * examples/simple/simple.cc: Added geometry hints to terminal.
    * examples/simple/simple.h: Corrected defines - this change is
    purely aesthetical.
    * src/libvtemm.h: Commented inclusion of deprecated reaper.
---
 NEWS                      |   13 ++++++-------
 examples/simple/simple.cc |    4 ++++
 examples/simple/simple.h  |    6 +++---
 src/libvtemm.h            |    2 +-
 4 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/NEWS b/NEWS
index ad4f48b..ceab61f 100644
--- a/NEWS
+++ b/NEWS
@@ -14,11 +14,10 @@
 
 0.20.3
 
-* API is incompatible with previous versions, so it is bumped to version 1.1.
-Mostly recompilation is enough, but if you use commit signal, or cursor
-position getter then a change in sources is needed.)
-* SO version is also bumped.
-* libvtemm-1.1 is parallel-installable with version 1.0.
+* In this release API/ABI is _incompatible_ with previous releases.
+(deprecated methods and reaper were removed, beep signal have a default
+signal handler, 'commit' signal and get_cursor_position have changed
+prototypes.)
+* API is bumped to version 1.1.
+* libvtemm-1.1 is can be installed in parallel with version 1.0.
 * Dependencies: vte >= 0.20, gtkmm-2.4 >= 2.14, glibmm-2.4 >= 2.18.
-(I'm not sure about the last, maybe lower would work, but that needs
-change in configure.ac).
diff --git a/examples/simple/simple.cc b/examples/simple/simple.cc
index 82680d4..eac8daf 100644
--- a/examples/simple/simple.cc
+++ b/examples/simple/simple.cc
@@ -47,6 +47,10 @@ Simple::Simple()
   add(m_terminal);
   m_terminal.set_flags(Gtk::CAN_DEFAULT);
   m_terminal.grab_default();
+  Gdk::Geometry hints;
+  hints.base_width = hints.min_width = hints.width_inc = m_terminal.get_char_width();
+  hints.base_height = hints.min_height = hints.height_inc = m_terminal.get_char_height();
+  set_geometry_hints(m_terminal, hints, Gdk::HINT_RESIZE_INC | Gdk::HINT_MIN_SIZE | Gdk::HINT_BASE_SIZE);
   show_all_children();
 }
 
diff --git a/examples/simple/simple.h b/examples/simple/simple.h
index c741ecc..fdb8fcc 100644
--- a/examples/simple/simple.h
+++ b/examples/simple/simple.h
@@ -18,8 +18,8 @@
  * along with Terminal Example.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef LIBVTEMM_EXAMPLE_SIMPLE_H
-#define LIBVTEMM_EXAMPLE_SIMPLE_H
+#ifndef _LIBVTEMM_EXAMPLE_SIMPLE_H_
+#define _LIBVTEMM_EXAMPLE_SIMPLE_H_
 
 #include <gtkmm.h>
 #include <libvtemm.h>
@@ -38,4 +38,4 @@ protected:
   Gnome::Vte::Terminal m_terminal;
 };
 
-#endif // LIBVTEMM_EXAMPLE_SIMPLE_H
+#endif // _LIBVTEMM_EXAMPLE_SIMPLE_H_
diff --git a/src/libvtemm.h b/src/libvtemm.h
index 0bed989..121a5c5 100644
--- a/src/libvtemm.h
+++ b/src/libvtemm.h
@@ -26,7 +26,7 @@
 #include <libvtemm/cursorposition.h>
 #include <libvtemm/init.h>
 #include <libvtemm/pty.h>
-#include <libvtemm/reaper.h>
+//#include <libvtemm/reaper.h>
 #include <libvtemm/terminal.h>
 #include <libvtemm/terminalaccessible.h>
 #include <libvtemm/textandcharattrs.h>



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