From: Mikko Rasa Date: Tue, 8 Apr 2014 15:49:09 +0000 (+0300) Subject: Style and comment fixes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=cc433448b71025256bdd44a569c353d98e0935f1;p=libs%2Fgltk.git Style and comment fixes --- diff --git a/source/list.cpp b/source/list.cpp index 1b26a3f..83af932 100644 --- a/source/list.cpp +++ b/source/list.cpp @@ -118,7 +118,7 @@ void List::items_changed() List::Item *List::create_item(unsigned index) { - Item *item = 0; + Item *item = 0; if(item_factory) item = item_factory->create_item(index); else diff --git a/source/panel.h b/source/panel.h index 165cc6a..e0eed01 100644 --- a/source/panel.h +++ b/source/panel.h @@ -23,7 +23,7 @@ public: protected: WidgetMap &wdg_map; Widget *last_widget; - + public: Loader(Panel &, WidgetMap &); private: diff --git a/source/widget.h b/source/widget.h index 9caae9f..4550648 100644 --- a/source/widget.h +++ b/source/widget.h @@ -17,8 +17,7 @@ class Resources; class Style; /** -Base class for all widgets. Derived classes should call update_style in -constructor, because it can't be done correctly in the Widget constructor. +Base class for all widgets. */ class Widget {