X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Faweather-view.c;h=7caaf9b9a3868fddff8039eead3304273e335a1f;hp=8b7eade4b90b45da8036807d0c18e5780108ee27;hb=55d69c616a9f4f3bae23045f1174047003e2e1d4;hpb=d6cf708a2db6eae88dda328a17bf2157c9c90ca8 diff --git a/src/aweather-view.c b/src/aweather-view.c index 8b7eade..7caaf9b 100644 --- a/src/aweather-view.c +++ b/src/aweather-view.c @@ -20,6 +20,9 @@ #include "marshal.h" #include "aweather-view.h" +/**************** + * GObject code * + ****************/ G_DEFINE_TYPE(AWeatherView, aweather_view, G_TYPE_OBJECT); enum { @@ -38,13 +41,12 @@ enum { static guint signals[NUM_SIGNALS]; -/* Constructor / destructors */ static void aweather_view_init(AWeatherView *self) { //g_message("aweather_view_init"); /* Default values */ - self->time = g_strdup(""); //g_strdup("LATEST"); - self->site = g_strdup(""); //g_strdup("IND"); + self->time = g_strdup(""); + self->site = g_strdup(""); } static GObject *aweather_view_constructor(GType gtype, guint n_properties, @@ -187,7 +189,9 @@ static void _aweather_view_emit_refresh(AWeatherView *view) } -/* Methods */ +/*********** + * Methods * + ***********/ AWeatherView *aweather_view_new() { //g_message("aweather_view_new");