gtkmm-documentation r83 - in trunk: . examples/book/drag_and_drop examples/book/giomm/directory_list examples/book/giomm/getline examples/book/giomm/monitor_directory examples/book/giomm/read_file examples/book/giomm/read_file_async examples/book/giomm/volumes examples/book/giomm/write_file examples/others/dnd
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm-documentation r83 - in trunk: . examples/book/drag_and_drop examples/book/giomm/directory_list examples/book/giomm/getline examples/book/giomm/monitor_directory examples/book/giomm/read_file examples/book/giomm/read_file_async examples/book/giomm/volumes examples/book/giomm/write_file examples/others/dnd
- Date: Mon, 9 Mar 2009 16:50:59 +0000 (UTC)
Author: murrayc
Date: Mon Mar 9 16:50:59 2009
New Revision: 83
URL: http://svn.gnome.org/viewvc/gtkmm-documentation?rev=83&view=rev
Log:
2009-03-09 Murray Cumming <murrayc murrayc com>
* examples/book/drag_and_drop/dndwindow.cc:
* examples/book/giomm/directory_list/main.cc:
* examples/book/giomm/getline/getline.cc:
* examples/book/giomm/monitor_directory/monitor_directory.cc:
* examples/book/giomm/read_file/main.cc:
* examples/book/giomm/read_file_async/main.cc:
* examples/book/giomm/volumes/main.cc:
* examples/book/giomm/write_file/main.cc:
* examples/others/dnd/dndwindow.cc: Dealt with some compiler warnings.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/configure.in
trunk/examples/book/drag_and_drop/dndwindow.cc
trunk/examples/book/giomm/directory_list/main.cc
trunk/examples/book/giomm/getline/getline.cc
trunk/examples/book/giomm/monitor_directory/monitor_directory.cc
trunk/examples/book/giomm/read_file/main.cc
trunk/examples/book/giomm/read_file_async/main.cc
trunk/examples/book/giomm/volumes/main.cc
trunk/examples/book/giomm/write_file/main.cc
trunk/examples/others/dnd/dndwindow.cc
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Mar 9 16:50:59 2009
@@ -1,3 +1,15 @@
+2.14.2:
+
+
+* gmmproc appendix: Mention pygobject instead of pygtk for the codegen stuff
+ such as h2def.py and docextract_to_xml.py. Noticed by Krzesimir Nowak.
+* Notebook chapter: Mention set_current_page() instead of set_page(), which does
+ not exist. Noticed by Jason Curole.
+ (Murray Cumming)
+* examples/book/range_widgets/examplewindow.cc: Remove unnecessary casts to int.
+ (FabrÃcio Godoy)
+* Windows build fixes. (Armin Burgmeier).
+
2.14.1:
* Removed the appendix about Dev-C++ because it was outdated.
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Mon Mar 9 16:50:59 2009
@@ -15,7 +15,7 @@
#We use pushdef here because we can't use shell variables before AC_INIT, but we want to use a variable with AC_INIT:
pushdef([GTKMM_DOCUMENTATION_MAJOR_VERSION], [2])
pushdef([GTKMM_DOCUMENTATION_MINOR_VERSION], [14])
-pushdef([GTKMM_DOCUMENTATION_MICRO_VERSION], [1])
+pushdef([GTKMM_DOCUMENTATION_MICRO_VERSION], [2])
pushdef([GTKMM_DOCUMENTATION_EXTRA_VERSION], [])
pushdef([GTKMM_DOCUMENTATION_VERSION], GTKMM_DOCUMENTATION_MAJOR_VERSION.GTKMM_DOCUMENTATION_MINOR_VERSION.GTKMM_DOCUMENTATION_MICRO_VERSION[]GTKMM_DOCUMENTATION_EXTRA_VERSION)
AC_INIT([gtkmm-documentation], GTKMM_DOCUMENTATION_VERSION, [gtkmm-list gnome org])
Modified: trunk/examples/book/drag_and_drop/dndwindow.cc
==============================================================================
--- trunk/examples/book/drag_and_drop/dndwindow.cc (original)
+++ trunk/examples/book/drag_and_drop/dndwindow.cc Mon Mar 9 16:50:59 2009
@@ -74,7 +74,7 @@
const Glib::RefPtr<Gdk::DragContext>& context, int, int,
const Gtk::SelectionData& selection_data, guint, guint time)
{
- const guint length = selection_data.get_length();
+ const int length = selection_data.get_length();
if((length >= 0) && (selection_data.get_format() == 8))
{
std::cout << "Received \"" << selection_data.get_data_as_string()
Modified: trunk/examples/book/giomm/directory_list/main.cc
==============================================================================
--- trunk/examples/book/giomm/directory_list/main.cc (original)
+++ trunk/examples/book/giomm/directory_list/main.cc Mon Mar 9 16:50:59 2009
@@ -20,7 +20,7 @@
#include <iostream>
-int main(int argc, char** argv)
+int main(int /* argc */, char** /* argv */)
{
Gio::init();
Modified: trunk/examples/book/giomm/getline/getline.cc
==============================================================================
--- trunk/examples/book/giomm/getline/getline.cc (original)
+++ trunk/examples/book/giomm/getline/getline.cc Mon Mar 9 16:50:59 2009
@@ -25,7 +25,7 @@
/* This is just a simple example to show you how to read a line of text at a
* time, similar to using std::istream::getline()
*/
-int main(int argc, char** argv)
+int main(int /* argc */, char** /* argv */)
{
Gio::init();
Glib::RefPtr<Gio::File> f = Gio::File::create_for_path("/etc/profile");
Modified: trunk/examples/book/giomm/monitor_directory/monitor_directory.cc
==============================================================================
--- trunk/examples/book/giomm/monitor_directory/monitor_directory.cc (original)
+++ trunk/examples/book/giomm/monitor_directory/monitor_directory.cc Mon Mar 9 16:50:59 2009
@@ -104,7 +104,7 @@
return false;
}
-int main(int argc, char** argv)
+int main(int /* argc */, char** /* argv */)
{
Gio::init();
mainloop = Glib::MainLoop::create();
@@ -124,7 +124,7 @@
// directory monitor.
Glib::signal_timeout().connect_seconds(sigc::ptr_fun (&create_temp_file), 2);
- // then exit a couple seconds later
+ // Then exit a couple seconds later:
Glib::signal_timeout().connect_seconds(sigc::ptr_fun (&quit), 4);
mainloop->run();
return 0;
Modified: trunk/examples/book/giomm/read_file/main.cc
==============================================================================
--- trunk/examples/book/giomm/read_file/main.cc (original)
+++ trunk/examples/book/giomm/read_file/main.cc Mon Mar 9 16:50:59 2009
@@ -21,7 +21,7 @@
#include <cstring>
-int main(int argc, char** argv)
+int main(int /* argc */, char** /* argv */)
{
Gio::init();
Modified: trunk/examples/book/giomm/read_file_async/main.cc
==============================================================================
--- trunk/examples/book/giomm/read_file_async/main.cc (original)
+++ trunk/examples/book/giomm/read_file_async/main.cc Mon Mar 9 16:50:59 2009
@@ -72,7 +72,7 @@
}
}
-int main(int argc, char** argv)
+int main(int /* argc */, char** /* argv */)
{
Gio::init();
Modified: trunk/examples/book/giomm/volumes/main.cc
==============================================================================
--- trunk/examples/book/giomm/volumes/main.cc (original)
+++ trunk/examples/book/giomm/volumes/main.cc Mon Mar 9 16:50:59 2009
@@ -1,7 +1,7 @@
#include <giomm.h>
#include <iostream>
-int main(int argc, char** argv)
+int main(int /* argc */, char** /* argv */)
{
Gio::init();
Modified: trunk/examples/book/giomm/write_file/main.cc
==============================================================================
--- trunk/examples/book/giomm/write_file/main.cc (original)
+++ trunk/examples/book/giomm/write_file/main.cc Mon Mar 9 16:50:59 2009
@@ -20,7 +20,7 @@
#include <iostream>
-int main(int argc, char** argv)
+int main(int /* argc */, char** /* argv */)
{
Gio::init();
Modified: trunk/examples/others/dnd/dndwindow.cc
==============================================================================
--- trunk/examples/others/dnd/dndwindow.cc (original)
+++ trunk/examples/others/dnd/dndwindow.cc Mon Mar 9 16:50:59 2009
@@ -100,7 +100,7 @@
void DnDWindow::on_label_drop_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int, int, const Gtk::SelectionData& selection_data, guint, guint time)
{
- const guint length = selection_data.get_length();
+ const int length = selection_data.get_length();
const guchar* data = selection_data.get_data();
if((length >= 0) && (selection_data.get_format() == 8))
@@ -134,7 +134,7 @@
void DnDWindow::on_image_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int, int, const Gtk::SelectionData& selection_data, guint, guint time)
{
- const guint length = selection_data.get_length();
+ const int length = selection_data.get_length();
const guchar* data = selection_data.get_data();
if( (length >= 0) && (selection_data.get_format() == 8) )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]