seahorse r2629 - trunk/libseahorse
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2629 - trunk/libseahorse
- Date: Sat, 22 Nov 2008 22:54:36 +0000 (UTC)
Author: nnielsen
Date: Sat Nov 22 22:54:36 2008
New Revision: 2629
URL: http://svn.gnome.org/viewvc/seahorse?rev=2629&view=rev
Log:
Update template file for GObject classes.
Modified:
trunk/libseahorse/seahorse-xxx.c
Modified: trunk/libseahorse/seahorse-xxx.c
==============================================================================
--- trunk/libseahorse/seahorse-xxx.c (original)
+++ trunk/libseahorse/seahorse-xxx.c Sat Nov 22 22:54:36 2008
@@ -19,6 +19,8 @@
* 02111-1307, USA.
*/
+#include "config.h"
+
#include "seahorse-xxx.h"
enum {
@@ -76,8 +78,8 @@
static void
seahorse_xxx_dispose (GObject *obj)
{
- SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (obj);
SeahorseXxx *self = SEAHORSE_XXX (obj);
+ SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (self);
G_OBJECT_CLASS (seahorse_xxx_parent_class)->dispose (obj);
}
@@ -85,8 +87,8 @@
static void
seahorse_xxx_finalize (GObject *obj)
{
- SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (obj);
SeahorseXxx *self = SEAHORSE_XXX (obj);
+ SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (self);
G_OBJECT_CLASS (seahorse_xxx_parent_class)->finalize (obj);
}
@@ -95,8 +97,8 @@
seahorse_xxx_set_property (GObject *obj, guint prop_id, const GValue *value,
GParamSpec *pspec)
{
- SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (obj);
SeahorseXxx *self = SEAHORSE_XXX (obj);
+ SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (self);
switch (prop_id) {
case PROP_XXX:
@@ -111,8 +113,8 @@
seahorse_xxx_get_property (GObject *obj, guint prop_id, GValue *value,
GParamSpec *pspec)
{
- SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (obj);
SeahorseXxx *self = SEAHORSE_XXX (obj);
+ SeahorseXxxPrivate *pv = SEAHORSE_XXX_GET_PRIVATE (self);
switch (prop_id) {
case PROP_XXX:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]