auditing performed, made some changes like removed std, or corrected the name of the file, and in come cases added the licence text where it was missing --gv

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1219 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
jinx 2006-09-17 01:19:10 +00:00
parent 925e8e7671
commit 08a7b4162e
6 changed files with 13 additions and 14 deletions

View File

@ -31,7 +31,8 @@ using namespace sgpem;
CairoElements::CairoElements(cairo_t* const ctx) CairoElements::CairoElements(cairo_t* const ctx)
: _ctx(ctx) : _ctx(ctx)
{} {
}
void void

View File

@ -22,7 +22,6 @@
#define CAIRO_ELEMENTS_HH 1 #define CAIRO_ELEMENTS_HH 1
#include <sgpemv2/thread.hh> #include <sgpemv2/thread.hh>
#include <sgpemv2/process.hh> #include <sgpemv2/process.hh>

View File

@ -110,7 +110,6 @@ CairoWidget::on_realize()
set_window(window); set_window(window);
window->set_user_data(gobj()); window->set_user_data(gobj());
// Not sure if the following line is needed:
gtk_style_attach(get_style()->gobj(), window->gobj()); gtk_style_attach(get_style()->gobj(), window->gobj());
get_style()->set_background(window, Gtk::STATE_ACTIVE); get_style()->set_background(window, Gtk::STATE_ACTIVE);
} }

View File

@ -21,8 +21,10 @@
#ifndef CONFIGURE_POLICY_DIALOG_HH #ifndef CONFIGURE_POLICY_DIALOG_HH
#define CONFIGURE_POLICY_DIALOG_HH 1 #define CONFIGURE_POLICY_DIALOG_HH 1
#include <sgpemv2/policy_parameters.hh> #include <sgpemv2/policy_parameters.hh>
#include <glibmm/ustring.h> #include <glibmm/ustring.h>
#include <gtkmm/box.h> #include <gtkmm/box.h>
#include <gtkmm/frame.h> #include <gtkmm/frame.h>
@ -57,7 +59,7 @@ namespace sgpem
Gtk::Table* _table_float; Gtk::Table* _table_float;
Gtk::Table* _table_string; Gtk::Table* _table_string;
}; //~ class ConfigurePolicyDialog };
} //~ namespace sgpem } //~ namespace sgpem

View File

@ -22,10 +22,9 @@
#define GRAPHICAL_PREFERENCES_EDITOR_HH 1 #define GRAPHICAL_PREFERENCES_EDITOR_HH 1
#include <sgpemv2/global_preferences.hh> #include <sgpemv2/global_preferences.hh>
#include <libglademm/xml.h> #include <libglademm/xml.h>
#include <gtkmm/liststore.h> #include <gtkmm/liststore.h>
#include <gtkmm/dialog.h> #include <gtkmm/dialog.h>
@ -68,11 +67,11 @@ namespace sgpem
private: private:
void void
update_policies(); update_policies();
void void
update_plugins(); update_plugins();
Glib::RefPtr<Gnome::Glade::Xml> _refXml; Glib::RefPtr<Gnome::Glade::Xml> _refXml;
Gtk::Dialog* preferences_dialog; Gtk::Dialog* preferences_dialog;
@ -93,6 +92,6 @@ namespace sgpem
}; };
} } // ~ namespace
#endif #endif // ~ GRAPHICAL_PREFERENCES_EDITOR_HH

View File

@ -1,4 +1,4 @@
// src/testsuite/test-stepforward.cc - Copyright 2005, 2006, University // src/testsuite/test-global_preferences_serialization.cc - Copyright 2005, 2006, University
// of Padova, dept. of Pure and Applied // of Padova, dept. of Pure and Applied
// Mathematics // Mathematics
// //
@ -71,7 +71,6 @@ main(int argc, char** argv)
*/ */
cout << "Config saved" << endl; cout << "Config saved" << endl;
gp.write_configrc(); gp.write_configrc();
// TODO - terminate me as soon as possible - please!!!
gp.write_configrc(cout); gp.write_configrc(cout);
ostringstream os1; ostringstream os1;