X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fgis-view.c;h=a2bc30f9155599b82fccb07bb79a12c8cee574f0;hp=0caf3f02b04977514afa5a2c10234057ff227ed7;hb=ac7156bd84aef88b712f117f7e2f3d847d371719;hpb=4d1e8fc57db10e2cfd12ba1eddf498f6cf873d4f diff --git a/src/gis-view.c b/src/gis-view.c index 0caf3f0..a2bc30f 100644 --- a/src/gis-view.c +++ b/src/gis-view.c @@ -1,16 +1,16 @@ /* * Copyright (C) 2009 Andy Spencer - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -40,14 +40,14 @@ static guint signals[NUM_SIGNALS]; /* Signal helpers */ static void _gis_view_emit_location_changed(GisView *view) { - g_signal_emit(view, signals[SIG_LOCATION_CHANGED], 0, + g_signal_emit(view, signals[SIG_LOCATION_CHANGED], 0, view->location[0], view->location[1], view->location[2]); } static void _gis_view_emit_rotation_changed(GisView *view) { - g_signal_emit(view, signals[SIG_ROTATION_CHANGED], 0, + g_signal_emit(view, signals[SIG_ROTATION_CHANGED], 0, view->rotation[0], view->rotation[1], view->rotation[2]); @@ -238,13 +238,13 @@ static void gis_view_class_init(GisViewClass *klass) g_param_spec_pointer( "time", "time of the current frame", - "(format unknown)", + "(format unknown)", G_PARAM_READWRITE)); g_object_class_install_property(gobject_class, PROP_SITE, g_param_spec_pointer( "site", "site seen by the viewport", - "Site of the viewport. Currently this is the name of the radar site.", + "Site of the viewport. Currently this is the name of the radar site.", G_PARAM_READWRITE)); signals[SIG_TIME_CHANGED] = g_signal_new( "time-changed",